[ https://issues.apache.org/jira/browse/DRILL-2158?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14352442#comment-14352442 ]
kun22kun commented on DRILL-2158: --------------------------------- It's following errors now. 10:23:10,534 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback.groovy] 10:23:10,535 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback-test.xml] 10:23:10,535 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Found resource [logback.xml] at [file:/opt/drill/conf/logback.xml] 10:23:11,264 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - debug attribute not set 10:23:12,335 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.ConsoleAppender] 10:23:12,360 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [STDOUT] 10:23:12,558 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Assuming default type [ch.qos.logback.classic.encoder.PatternLayoutEncoder] for [encoder] property 10:23:12,996 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.rolling.RollingFileAppender] 10:23:13,004 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [FILE] 10:23:13,121 |-INFO in ch.qos.logback.core.rolling.FixedWindowRollingPolicy@29defa49 - No compression will be used 10:23:13,142 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Assuming default type [ch.qos.logback.classic.encoder.PatternLayoutEncoder] for [encoder] property 10:23:13,144 |-INFO in ch.qos.logback.core.rolling.RollingFileAppender[FILE] - Active log file name: /var/log/drill/sqlline.log 10:23:13,144 |-INFO in ch.qos.logback.core.rolling.RollingFileAppender[FILE] - File property is set to [/var/log/drill/sqlline.log] 10:23:13,148 |-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 (Permission denied) at java.io.FileNotFoundException: /var/log/drill/sqlline.log (Permission denied) at at java.io.FileOutputStream.open(Native Method) at at java.io.FileOutputStream.<init>(FileOutputStream.java:221) 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.DrillConnectionImpl.<clinit>(DrillConnectionImpl.java:51) at at org.apache.drill.jdbc.DrillJdbc41Factory.newDrillConnection(DrillJdbc41Factory.java:57) at at org.apache.drill.jdbc.DrillJdbc41Factory.newDrillConnection(DrillJdbc41Factory.java:43) at at org.apache.drill.jdbc.DrillFactory.newConnection(DrillFactory.java:51) at at net.hydromatic.avatica.UnregisteredDriver.connect(UnregisteredDriver.java:127) at at sqlline.SqlLine$DatabaseConnection.connect(SqlLine.java:4732) at at sqlline.SqlLine$DatabaseConnection.getConnection(SqlLine.java:4786) at at sqlline.SqlLine$Commands.connect(SqlLine.java:4026) at at sqlline.SqlLine$Commands.connect(SqlLine.java:3935) at at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at at java.lang.reflect.Method.invoke(Method.java:606) at at sqlline.SqlLine$ReflectiveCommandHandler.execute(SqlLine.java:2884) at at sqlline.SqlLine.dispatch(SqlLine.java:885) at at sqlline.SqlLine.initArgs(SqlLine.java:693) at at sqlline.SqlLine.begin(SqlLine.java:745) at at sqlline.SqlLine.start(SqlLine.java:498) at at sqlline.SqlLine.main(SqlLine.java:460) 10:23:13,150 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting additivity of logger [org.apache.drill] to false 10:23:13,150 |-INFO in ch.qos.logback.classic.joran.action.LevelAction - org.apache.drill level set to INFO 10:23:13,150 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [FILE] to Logger[org.apache.drill] 10:23:13,152 |-INFO in ch.qos.logback.classic.joran.action.LevelAction - ROOT level set to ERROR 10:23:13,153 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [STDOUT] to Logger[ROOT] 10:23:13,153 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - End of configuration. 10:23:13,156 |-INFO in ch.qos.logback.classic.joran.JoranConfigurator@4589ac1e - Registering current configuration as safe fallback point Error: Failure while attempting to start Drillbit in embedded mode. (state=,code=0) sqlline version 1.1.6 > Failure while attempting to start Drillbit in embedded mode. > -------------------------------------------------------------- > > Key: DRILL-2158 > URL: https://issues.apache.org/jira/browse/DRILL-2158 > Project: Apache Drill > Issue Type: Bug > Components: Tools, Build & Test > Affects Versions: 0.7.0 > Environment: Linux Master.hadoop 2.6.32-431.23.3.el6.x86_64 #1 SMP > Thu Jul 3117:20:51 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux > CentOS release 6.5 (Final) > Reporter: kun22kun > Assignee: Chun Chang > Priority: Minor > Labels: github-import, maven > Fix For: 1.0.0 > > > First, I install my drill according to > “https://cwiki.apache.org/confluence/display/DRILL/Apache+Drill+in+10+Minutes”. > When to start my drill via "bin/sqlline -u jdbc:drill:zk=local -n admin -p > admin", > It shows > "Error: Failure while attempting to start Drillbit in embedded mode. > (state=,code=0) > sqlline version 1.1.6 > 0: jdbc:drill:zk=local>" > Then I install my drill with maven according to "INSTALL.md" in the source > from github. But the same result like above. > Finally , in the path "tmp/drill/", there's nothing, do I need to create by > myself? > Is it necessary to build a distributed system for example hadoop? > Much apperaite! -- This message was sent by Atlassian JIRA (v6.3.4#6332)