drill-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jacques Nadeau (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (DRILL-953) Exception when /var/log doesn't exist
Date Mon, 16 Jun 2014 21:16:03 GMT

     [ https://issues.apache.org/jira/browse/DRILL-953?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jacques Nadeau updated DRILL-953:
---------------------------------

    Component/s: Tools, Build & Test
       Assignee: Patrick Wong

> Exception when /var/log doesn't exist
> -------------------------------------
>
>                 Key: DRILL-953
>                 URL: https://issues.apache.org/jira/browse/DRILL-953
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Tools, Build & Test
>            Reporter: Tomer Shiran
>            Assignee: Patrick Wong
>
> /var/log doesn't exist on my Mac. Can we make this location configurable, and default
to something that we know will exist such as the current directory?
> 09:57:51,684 |-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: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:56)
> 	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)



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message