falcon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pragya Mittal (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (FALCON-1655) Database creation fails with FileNotFound exception / Permission denied
Date Thu, 31 Dec 2015 06:09:49 GMT

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

Pragya Mittal resolved FALCON-1655.
-----------------------------------
    Resolution: Fixed

Fixed as part of FALCON-1658, hence resolving it.

> Database creation fails with FileNotFound exception / Permission denied
> -----------------------------------------------------------------------
>
>                 Key: FALCON-1655
>                 URL: https://issues.apache.org/jira/browse/FALCON-1655
>             Project: Falcon
>          Issue Type: Bug
>          Components: scheduler
>    Affects Versions: 0.9
>         Environment: QA
>            Reporter: Pragya Mittal
>            Assignee: pavan kumar kolamuri
>             Fix For: 0.9
>
>
> While creating database in falcon when state store is enabled in native schedular it
fails with following error saying Permission denied :
> {noformat}
> dataqa@lda01:/mnt/falcon/server$ ./bin/falcon-db.sh create -sqlfile falcon.sql -run
> Hadoop is installed, adding hadoop classpath to falcon classpath
> Validating DB Connection
> log4j:ERROR setFile(null,true) call failed.
> java.io.FileNotFoundException: /.application.log (Permission denied)
> 	at java.io.FileOutputStream.open0(Native Method)
> 	at java.io.FileOutputStream.open(FileOutputStream.java:270)
> 	at java.io.FileOutputStream.<init>(FileOutputStream.java:213)
> 	at java.io.FileOutputStream.<init>(FileOutputStream.java:133)
> 	at org.apache.log4j.FileAppender.setFile(FileAppender.java:294)
> 	at org.apache.log4j.FileAppender.activateOptions(FileAppender.java:165)
> 	at org.apache.log4j.DailyRollingFileAppender.activateOptions(DailyRollingFileAppender.java:223)
> 	at org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:307)
> 	at org.apache.log4j.xml.DOMConfigurator.parseAppender(DOMConfigurator.java:295)
> 	at org.apache.log4j.xml.DOMConfigurator.findAppenderByName(DOMConfigurator.java:176)
> 	at org.apache.log4j.xml.DOMConfigurator.findAppenderByReference(DOMConfigurator.java:191)
> 	at org.apache.log4j.xml.DOMConfigurator.parseChildrenOfLoggerElement(DOMConfigurator.java:523)
> 	at org.apache.log4j.xml.DOMConfigurator.parseCategory(DOMConfigurator.java:436)
> 	at org.apache.log4j.xml.DOMConfigurator.parse(DOMConfigurator.java:1004)
> 	at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:872)
> 	at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:778)
> 	at org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverter.java:526)
> 	at org.apache.log4j.LogManager.<clinit>(LogManager.java:127)
> 	at org.slf4j.impl.Log4jLoggerFactory.getLogger(Log4jLoggerFactory.java:66)
> 	at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:270)
> 	at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:281)
> 	at org.apache.falcon.util.ApplicationProperties.<clinit>(ApplicationProperties.java:43)
> 	at org.apache.falcon.tools.FalconStateStoreDBCLI.getJdbcConf(FalconStateStoreDBCLI.java:208)
> 	at org.apache.falcon.tools.FalconStateStoreDBCLI.createConnection(FalconStateStoreDBCLI.java:344)
> 	at org.apache.falcon.tools.FalconStateStoreDBCLI.validateConnection(FalconStateStoreDBCLI.java:352)
> 	at org.apache.falcon.tools.FalconStateStoreDBCLI.createDB(FalconStateStoreDBCLI.java:249)
> 	at org.apache.falcon.tools.FalconStateStoreDBCLI.run(FalconStateStoreDBCLI.java:103)
> 	at org.apache.falcon.tools.FalconStateStoreDBCLI.main(FalconStateStoreDBCLI.java:57)
> log4j:ERROR Either File or DatePattern options are not set for appender [FILE].
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message