incubator-drill-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bob Rumsby <brum...@maprtech.com>
Subject Logging errors with Drill 0.6
Date Mon, 10 Nov 2014 01:26:26 GMT
I installed 0.6 in embedded mode on my MacBook. sqlline eventually starts
but only after returning extensive logback errors. Let me know if I should
open a JIRA. I don't remember having this problem with 0.5 and earlier.

Thanks,
Bob

adminisrsmbp149:apache-drill-0.6.0-incubating brumsby$ bin/sqlline -u
jdbc:drill:zk=local -n admin -p admin
17:20:11,625 |-INFO in ch.qos.logback.classic.LoggerContext[default] -
Could NOT find resource [logback.groovy]
17:20:11,625 |-INFO in ch.qos.logback.classic.LoggerContext[default] -
Could NOT find resource [logback-test.xml]
17:20:11,626 |-INFO in ch.qos.logback.classic.LoggerContext[default] -
Found resource [logback.xml] at
[file:/Users/brumsby/drill/apache-drill-0.6.0-incubating/conf/logback.xml]
17:20:11,780 |-INFO in
ch.qos.logback.classic.joran.action.ConfigurationAction - debug attribute
not set
17:20:27,135 |-INFO in ch.qos.logback.core.joran.action.AppenderAction -
About to instantiate appender of type [ch.qos.logback.core.ConsoleAppender]
17:20:27,148 |-INFO in ch.qos.logback.core.joran.action.AppenderAction -
Naming appender as [STDOUT]
17:20:27,172 |-INFO in
ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Assuming default
type [ch.qos.logback.classic.encoder.PatternLayoutEncoder] for [encoder]
property
17:20:27,237 |-INFO in ch.qos.logback.core.joran.action.AppenderAction -
About to instantiate appender of type
[ch.qos.logback.core.rolling.RollingFileAppender]
17:20:27,240 |-INFO in ch.qos.logback.core.joran.action.AppenderAction -
Naming appender as [FILE]
17:20:27,259 |-INFO in
ch.qos.logback.core.rolling.FixedWindowRollingPolicy@57c70722 - No
compression will be used
17:20:27,266 |-INFO in
ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Assuming default
type [ch.qos.logback.classic.encoder.PatternLayoutEncoder] for [encoder]
property
17:20:27,267 |-INFO in
ch.qos.logback.core.rolling.RollingFileAppender[FILE] - Active log file
name: /var/log/drill/sqlline.log
17:20:27,267 |-INFO in
ch.qos.logback.core.rolling.RollingFileAppender[FILE] - File property is
set to [/var/log/drill/sqlline.log]
17:20:27,269 |-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:52)
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:126)
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)
17:20:27,269 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction -
Setting additivity of logger [org.apache.drill] to false
17:20:27,269 |-INFO in ch.qos.logback.classic.joran.action.LevelAction -
org.apache.drill level set to INFO
17:20:27,270 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction -
Attaching appender named [FILE] to Logger[org.apache.drill]
17:20:27,270 |-INFO in ch.qos.logback.classic.joran.action.LevelAction -
ROOT level set to ERROR
17:20:27,270 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction -
Attaching appender named [STDOUT] to Logger[ROOT]
17:20:27,270 |-INFO in
ch.qos.logback.classic.joran.action.ConfigurationAction - End of
configuration.
17:20:27,271 |-INFO in
ch.qos.logback.classic.joran.JoranConfigurator@632c17b6 - Registering
current configuration as safe fallback point

Nov 09, 2014 5:20:53 PM org.glassfish.jersey.server.ApplicationHandler
initialize
INFO: Initiating Jersey application, version Jersey: 2.8 2014-04-29
01:25:26...

sqlline version 1.1.6
0: jdbc:drill:zk=local> use dfs;
+------------+------------+
|     ok     |  summary   |
+------------+------------+
| true       | Default schema changed to 'dfs' |
+------------+------------+
1 row selected (0.75 seconds)

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message