Skip to content

Commit 37a4c1a

Browse files
remove dependency
1 parent 4085849 commit 37a4c1a

File tree

4 files changed

+13
-24
lines changed

4 files changed

+13
-24
lines changed

bin/zeppelin-daemon.sh

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,10 +68,7 @@ if [[ -d "${ZEPPELIN_HOME}/zeppelin-server/target/classes" ]]; then
6868
fi
6969

7070
# Add jdbc connector jar
71-
ZEPPELIN_CLASSPATH+=":${ZEPPELIN_HOME}/jdbc/jars/mysql-connector-java-5.1.35-bin.jar"
72-
ZEPPELIN_CLASSPATH+=":${ZEPPELIN_HOME}/jdbc/jars/postgresql-9.4-1205-jdbc41.jar"
73-
ZEPPELIN_CLASSPATH+=":${ZEPPELIN_HOME}/jdbc/jars/mariadb-java-client-1.2.3.jar"
74-
ZEPPELIN_CLASSPATH+=":${ZEPPELIN_HOME}/jdbc/jars/RedshiftJDBC41-1.1.10.1010.jar"
71+
# ZEPPELIN_CLASSPATH+=":${ZEPPELIN_HOME}/jdbc/jars/jdbc-connector-jar"
7572

7673
addJarInDir "${ZEPPELIN_HOME}"
7774
addJarInDir "${ZEPPELIN_HOME}/lib"

jdbc/pom.xml

Lines changed: 11 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,11 @@
3232
<version>0.6.0-incubating-SNAPSHOT</version>
3333
<name>Zeppelin: JDBC interpreter</name>
3434
<url>http://www.apache.org</url>
35-
35+
3636
<properties>
37-
<hive.hive.version>0.14.0</hive.hive.version>
38-
<hive.hadoop.version>2.6.0</hive.hadoop.version>
37+
<postgresql.version>9.4-1201-jdbc41</postgresql.version>
3938
</properties>
40-
39+
4140
<dependencies>
4241
<dependency>
4342
<groupId>org.apache.zeppelin</groupId>
@@ -46,6 +45,12 @@
4645
<scope>provided</scope>
4746
</dependency>
4847

48+
<dependency>
49+
<groupId>org.postgresql</groupId>
50+
<artifactId>postgresql</artifactId>
51+
<version>${postgresql.version}</version>
52+
</dependency>
53+
4954
<dependency>
5055
<groupId>org.slf4j</groupId>
5156
<artifactId>slf4j-api</artifactId>
@@ -56,23 +61,11 @@
5661
<artifactId>slf4j-log4j12</artifactId>
5762
</dependency>
5863

59-
<dependency>
64+
<dependency>
6065
<groupId>com.google.guava</groupId>
6166
<artifactId>guava</artifactId>
6267
</dependency>
63-
64-
<dependency>
65-
<groupId>org.apache.hive</groupId>
66-
<artifactId>hive-jdbc</artifactId>
67-
<version>${hive.hive.version}</version>
68-
</dependency>
69-
70-
<dependency>
71-
<groupId>org.apache.hadoop</groupId>
72-
<artifactId>hadoop-common</artifactId>
73-
<version>${hive.hadoop.version}</version>
74-
</dependency>
75-
68+
7669
<dependency>
7770
<groupId>jline</groupId>
7871
<artifactId>jline</artifactId>

jdbc/src/main/java/org/apache/zeppelin/jdbc/JDBCInterpreter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ private InterpreterResult executeSql(String propertyKey, String sql,
261261

262262
Statement statement = getStatement(propertyKey, paragraphId);
263263
statement.setMaxRows(getMaxResult());
264-
264+
265265
StringBuilder msg = null;
266266
boolean isTableType = false;
267267

pom.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,6 @@
9393
<module>shell</module>
9494
<module>hive</module>
9595
<module>phoenix</module>
96-
<module>geode</module>
9796
<module>jdbc</module>
9897
<module>tajo</module>
9998
<module>flink</module>

0 commit comments

Comments
 (0)