3

ubuntu 14.04 64 ボックスに apache-drill-1.2.0 をダウンロードしました。tar.zip の内容を抽出し、bin フォルダーに移動してドリルを実行しました。

を開こうとしましたhttp://localhost:8047が、「サーバーへの接続を確立できません」というエラーが表示されます。

http.ssl_enabled: "TRUE" で https を有効にしようとしました。ただし、http/https を使用しても Web コンソールを開くことはできません。

関連するログを次に示します。

himanshu@himanshu-HP-ProBook-4430s:~/Downloads/softwares/apache-drill-1.2.0/bin$ ./drill-embedded 
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/usr/local/hadoop/hadoop-2.6.0/share/hadoop/common/lib/slf4j-log4j12-1.7.5.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/home/himanshu/Downloads/softwares/apache-drill-1.2.0/jars/classb/logback-classic-1.0.13.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]
15/11/13 15:38:56 INFO config.DrillConfig: Loading base configuration file at jar:file:/home/himanshu/Downloads/softwares/apache-drill-1.2.0/jars/drill-common-1.2.0.jar!/drill-default.conf.
15/11/13 15:38:56 INFO config.DrillConfig: Loading 7 module configuration files at: 
    - jar:file:/home/himanshu/Downloads/softwares/apache-drill-1.2.0/jars/drill-storage-hbase-1.2.0.jar!/drill-module.conf
    - jar:file:/home/himanshu/Downloads/softwares/apache-drill-1.2.0/jars/drill-hive-exec-shaded-1.2.0.jar!/drill-module.conf
    - jar:file:/home/himanshu/Downloads/softwares/apache-drill-1.2.0/jars/drill-common-1.2.0.jar!/drill-module.conf
    - jar:file:/home/himanshu/Downloads/softwares/apache-drill-1.2.0/jars/drill-jdbc-storage-1.2.0.jar!/drill-module.conf
    - jar:file:/home/himanshu/Downloads/softwares/apache-drill-1.2.0/jars/drill-java-exec-1.2.0.jar!/drill-module.conf
    - jar:file:/home/himanshu/Downloads/softwares/apache-drill-1.2.0/jars/drill-mongo-storage-1.2.0.jar!/drill-module.conf
    - jar:file:/home/himanshu/Downloads/softwares/apache-drill-1.2.0/jars/drill-storage-hive-core-1.2.0.jar!/drill-module.conf.
15/11/13 15:38:56 INFO config.DrillConfig: Loading override config. file at file:/home/himanshu/Downloads/softwares/apache-drill-1.2.0/conf/drill-override.conf.
15/11/13 15:38:56 INFO config.DrillConfig: Loading override Properties parameter {user=, password=, zk=local}.
15/11/13 15:39:00 INFO reflections.Reflections: Reflections took 4050 ms to scan 7 urls, producing 5602 keys and 21840 values 
com.google.common.base.Stopwatch.elapsed(Ljava/util/concurrent/TimeUnit;)J
apache drill 1.2.0 
"got drill?"
0: jdbc:drill:zk=local> !quit
15/11/13 15:39:02 INFO config.DrillConfig: Loading base configuration file at jar:file:/home/himanshu/Downloads/softwares/apache-drill-1.2.0/jars/drill-common-1.2.0.jar!/drill-default.conf.
15/11/13 15:39:02 INFO config.DrillConfig: Loading 7 module configuration files at: 
    - jar:file:/home/himanshu/Downloads/softwares/apache-drill-1.2.0/jars/drill-storage-hbase-1.2.0.jar!/drill-module.conf
    - jar:file:/home/himanshu/Downloads/softwares/apache-drill-1.2.0/jars/drill-hive-exec-shaded-1.2.0.jar!/drill-module.conf
    - jar:file:/home/himanshu/Downloads/softwares/apache-drill-1.2.0/jars/drill-common-1.2.0.jar!/drill-module.conf
    - jar:file:/home/himanshu/Downloads/softwares/apache-drill-1.2.0/jars/drill-jdbc-storage-1.2.0.jar!/drill-module.conf
    - jar:file:/home/himanshu/Downloads/softwares/apache-drill-1.2.0/jars/drill-java-exec-1.2.0.jar!/drill-module.conf
    - jar:file:/home/himanshu/Downloads/softwares/apache-drill-1.2.0/jars/drill-mongo-storage-1.2.0.jar!/drill-module.conf
    - jar:file:/home/himanshu/Downloads/softwares/apache-drill-1.2.0/jars/drill-storage-hive-core-1.2.0.jar!/drill-module.conf.
15/11/13 15:39:02 INFO config.DrillConfig: Loading override config. file at file:/home/himanshu/Downloads/softwares/apache-drill-1.2.0/conf/drill-override.conf.
15/11/13 15:39:02 INFO config.DrillConfig: Loading override Properties parameter {user=, password=, zk=local}.
java.lang.NoSuchMethodError: com.google.common.base.Stopwatch.elapsed(Ljava/util/concurrent/TimeUnit;)J
    at org.apache.drill.common.util.PathScanner.scanForImplementations(PathScanner.java:110)
    at org.apache.drill.common.util.PathScanner.scanForImplementationsArr(PathScanner.java:86)
    at org.apache.drill.common.logical.data.LogicalOperatorBase.getSubTypes(LogicalOperatorBase.java:92)
    at org.apache.drill.common.config.DrillConfig.<init>(DrillConfig.java:82)
    at org.apache.drill.common.config.DrillConfig.create(DrillConfig.java:226)
    at org.apache.drill.common.config.DrillConfig.create(DrillConfig.java:152)
    at org.apache.drill.jdbc.impl.DrillConnectionImpl.<init>(DrillConnectionImpl.java:92)
    at org.apache.drill.jdbc.impl.DrillJdbc41Factory.newDrillConnection(DrillJdbc41Factory.java:66)
    at org.apache.drill.jdbc.impl.DrillFactory.newConnection(DrillFactory.java:69)
    at net.hydromatic.avatica.UnregisteredDriver.connect(UnregisteredDriver.java:126)
    at org.apache.drill.jdbc.Driver.connect(Driver.java:72)
    at sqlline.DatabaseConnection.connect(DatabaseConnection.java:167)
    at sqlline.DatabaseConnection.getConnection(DatabaseConnection.java:213)
    at sqlline.Commands.close(Commands.java:925)
    at sqlline.Commands.quit(Commands.java:889)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:606)
    at sqlline.ReflectiveCommandHandler.execute(ReflectiveCommandHandler.java:36)
    at sqlline.SqlLine.dispatch(SqlLine.java:742)
    at sqlline.SqlLine.begin(SqlLine.java:621)
    at sqlline.SqlLine.start(SqlLine.java:375)
    at sqlline.SqlLine.main(SqlLine.java:268)
15/11/13 15:39:02 INFO config.DrillConfig: Loading base configuration file at jar:file:/home/himanshu/Downloads/softwares/apache-drill-1.2.0/jars/drill-common-1.2.0.jar!/drill-default.conf.
15/11/13 15:39:02 INFO config.DrillConfig: Loading 7 module configuration files at: 
    - jar:file:/home/himanshu/Downloads/softwares/apache-drill-1.2.0/jars/drill-storage-hbase-1.2.0.jar!/drill-module.conf
    - jar:file:/home/himanshu/Downloads/softwares/apache-drill-1.2.0/jars/drill-hive-exec-shaded-1.2.0.jar!/drill-module.conf
    - jar:file:/home/himanshu/Downloads/softwares/apache-drill-1.2.0/jars/drill-common-1.2.0.jar!/drill-module.conf
    - jar:file:/home/himanshu/Downloads/softwares/apache-drill-1.2.0/jars/drill-jdbc-storage-1.2.0.jar!/drill-module.conf
    - jar:file:/home/himanshu/Downloads/softwares/apache-drill-1.2.0/jars/drill-java-exec-1.2.0.jar!/drill-module.conf
    - jar:file:/home/himanshu/Downloads/softwares/apache-drill-1.2.0/jars/drill-mongo-storage-1.2.0.jar!/drill-module.conf
    - jar:file:/home/himanshu/Downloads/softwares/apache-drill-1.2.0/jars/drill-storage-hive-core-1.2.0.jar!/drill-module.conf.
15/11/13 15:39:02 INFO config.DrillConfig: Loading override config. file at file:/home/himanshu/Downloads/softwares/apache-drill-1.2.0/conf/drill-override.conf.
15/11/13 15:39:03 INFO config.DrillConfig: Loading override Properties parameter {user=, password=, zk=local}.
Exception in thread "main" java.lang.NoSuchMethodError: com.google.common.base.Stopwatch.elapsed(Ljava/util/concurrent/TimeUnit;)J
    at org.apache.drill.common.util.PathScanner.scanForImplementations(PathScanner.java:110)
    at org.apache.drill.common.util.PathScanner.scanForImplementationsArr(PathScanner.java:86)
    at org.apache.drill.common.logical.data.LogicalOperatorBase.getSubTypes(LogicalOperatorBase.java:92)
    at org.apache.drill.common.config.DrillConfig.<init>(DrillConfig.java:82)
    at org.apache.drill.common.config.DrillConfig.create(DrillConfig.java:226)
    at org.apache.drill.common.config.DrillConfig.create(DrillConfig.java:152)
    at org.apache.drill.jdbc.impl.DrillConnectionImpl.<init>(DrillConnectionImpl.java:92)
    at org.apache.drill.jdbc.impl.DrillJdbc41Factory.newDrillConnection(DrillJdbc41Factory.java:66)
    at org.apache.drill.jdbc.impl.DrillFactory.newConnection(DrillFactory.java:69)
    at net.hydromatic.avatica.UnregisteredDriver.connect(UnregisteredDriver.java:126)
    at org.apache.drill.jdbc.Driver.connect(Driver.java:72)
    at sqlline.DatabaseConnection.connect(DatabaseConnection.java:167)
    at sqlline.DatabaseConnection.getConnection(DatabaseConnection.java:213)
    at sqlline.Commands.close(Commands.java:925)
    at sqlline.Commands.closeall(Commands.java:899)
    at sqlline.SqlLine.begin(SqlLine.java:649)
    at sqlline.SqlLine.start(SqlLine.java:375)
    at sqlline.SqlLine.main(SqlLine.java:268)

ディストリビューションに存在する Guava ライブラリ: guava-14.0.1 助けてください。

4

2 に答える 2

2

あなたはから始めました./drill-embedded

右。まず、Drill が 8047 ポートで実行されているかどうかを確認する必要があります。

このコマンド チェックを使用して、このポートで開始されたプロセスがあるかどうかを確認します。

   netstat -tlnp | grep 8047

コマンドを使用jpsして、 name のプロセスがあるかどうかを確認することもできますsqlline

このポートで実行されているプロセスを示している場合。次に、マッピングに問題がある可能性がありますlocalhost。次に、試すことができます

http://<IP_ADDRESS>:8047 
于 2015-11-16T05:19:11.010 に答える