Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Threaded View
Drill >> mail # user >> quick start guide


Copy link to this message
-
quick start guide
I built the binary distribution from the source. When I try the guide
https://cwiki.apache.org/confluence/display/DRILL/Running+Queries it gave
me below errors. It seems I didn't complete some prerequisites. Where can I
read about them ?

Rajika
[rajika@localhost bin]$ ./sqlline -u jdbc:drill:schema=parquet-local -n
admin -p admin
ls: cannot access /home/rajika/project/accumulo/hadoop-1.0.4/lib/*jar: No
such file or directory

Loaded singnal handler: SunSignalHandler
/home/rajika/.sqlline/sqlline.properties (No such file or directory)
scan complete in 39ms
01:32:55,640 |-INFO in ch.qos.logback.classic.LoggerContext[default] -
Could NOT find resource [logback.groovy]
01:32:55,641 |-INFO in ch.qos.logback.classic.LoggerContext[default] -
Could NOT find resource [logback-test.xml]
01:32:55,641 |-INFO in ch.qos.logback.classic.LoggerContext[default] -
Found resource [logback.xml] at
[file:/home/rajika/project/apache/drill/distribution/target/apache-drill-1.0.0-m2-incubating-SNAPSHOT/conf/logback.xml]
01:32:55,805 |-INFO in
ch.qos.logback.classic.joran.action.ConfigurationAction - debug attribute
not set
01:32:55,838 |-INFO in ch.qos.logback.core.joran.action.AppenderAction -
About to instantiate appender of type
[de.huxhorn.lilith.logback.appender.ClassicMultiplexSocketAppender]
01:32:55,854 |-INFO in ch.qos.logback.core.joran.action.AppenderAction -
Naming appender as [SOCKET]
01:32:55,884 |-INFO in
de.huxhorn.lilith.logback.appender.ClassicMultiplexSocketAppender[SOCKET] -
Waiting 1s to establish connections.
01:32:56,884 |-INFO in
de.huxhorn.lilith.logback.appender.ClassicMultiplexSocketAppender[SOCKET] -
Started
de.huxhorn.lilith.logback.appender.ClassicMultiplexSocketAppender[SOCKET]
01:32:56,884 |-INFO in ch.qos.logback.core.joran.action.AppenderAction -
About to instantiate appender of type [ch.qos.logback.core.ConsoleAppender]
01:32:56,893 |-INFO in ch.qos.logback.core.joran.action.AppenderAction -
Naming appender as [STDOUT]
01:32:56,900 |-INFO in
ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Assuming default
type [ch.qos.logback.classic.encoder.PatternLayoutEncoder] for [encoder]
property
01:32:56,979 |-INFO in ch.qos.logback.core.joran.action.AppenderAction -
About to instantiate appender of type
[ch.qos.logback.core.rolling.RollingFileAppender]
01:32:56,981 |-INFO in ch.qos.logback.core.joran.action.AppenderAction -
Naming appender as [FILE]
01:32:56,996 |-INFO in
ch.qos.logback.core.rolling.FixedWindowRollingPolicy@2ed6ddda - No
compression will be used
01:32:57,003 |-INFO in
ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Assuming default
type [ch.qos.logback.classic.encoder.PatternLayoutEncoder] for [encoder]
property
01:32:57,004 |-INFO in
ch.qos.logback.core.rolling.RollingFileAppender[FILE] - Active log file
name: /var/log/drill/sqlline.log
01:32:57,004 |-INFO in
ch.qos.logback.core.rolling.RollingFileAppender[FILE] - File property is
set to [/var/log/drill/sqlline.log]
01:32:57,005 |-ERROR in
ch.qos.logback.core.rolling.RollingFileAppender[FILE] - Failed to create
parent directories for [/var/log/drill/sqlline.log]
01:32:57,005 |-ERROR in
ch.qos.logback.core.rolling.RollingFileAppender[FILE] -
openFile(/var/log/drill/sqlline.log,true) call failed.
java.io.FileNotFoundException: /var/log/drill/sqlline.log (No such file or
directory)
at java.io.FileNotFoundException: /var/log/drill/sqlline.log (No such file
or directory)
at at java.io.FileOutputStream.open(Native Method)
at at java.io.FileOutputStream.<init>(FileOutputStream.java:212)
at at
ch.qos.logback.core.recovery.ResilientFileOutputStream.<init>(ResilientFileOutputStream.java:28)
at at ch.qos.logback.core.FileAppender.openFile(FileAppender.java:149)
at at ch.qos.logback.core.FileAppender.start(FileAppender.java:108)
at at
ch.qos.logback.core.rolling.RollingFileAppender.start(RollingFileAppender.java:86)
at at
ch.qos.logback.core.joran.action.AppenderAction.end(AppenderAction.java:96)
at at
ch.qos.logback.core.joran.spi.Interpreter.callEndAction(Interpreter.java:317)
at at
ch.qos.logback.core.joran.spi.Interpreter.endElement(Interpreter.java:196)
at at
ch.qos.logback.core.joran.spi.Interpreter.endElement(Interpreter.java:182)
at at ch.qos.logback.core.joran.spi.EventPlayer.play(EventPlayer.java:62)
at at
ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:149)
at at
ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:135)
at at
ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:99)
at at
ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:49)
at at
ch.qos.logback.classic.util.ContextInitializer.configureByResource(ContextInitializer.java:75)
at at
ch.qos.logback.classic.util.ContextInitializer.autoConfig(ContextInitializer.java:148)
at at org.slf4j.impl.StaticLoggerBinder.init(StaticLoggerBinder.java:85)
at at org.slf4j.impl.StaticLoggerBinder.<clinit>(StaticLoggerBinder.java:55)
at at org.slf4j.LoggerFactory.bind(LoggerFactory.java:128)
at at org.slf4j.LoggerFactory.performInitialization(LoggerFactory.java:107)
at at org.slf4j.LoggerFactory.getILoggerFactory(LoggerFactory.java:295)
at at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:269)
at at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:281)
at at org.apache.drill.jdbc.DrillHandler.<clinit>(DrillHandler.java:51)
at at org.apache.drill.jdbc.RefDriver.createHandler(RefDriver.java:65)
at at
net.hydromatic.optiq.jdbc.UnregisteredDriver.<init>(UnregisteredDriver.java:52)
at at org.apache.drill.jdbc.RefDriver.<init>(RefDriver.java:32)
at at org.apache.drill.jdbc.RefDriver.<clinit>(RefDriver.java:38)
at at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at at java.lang.reflect.Constructor
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB