[ https://issues.apache.org/jira/browse/ATLAS-93?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Suma Shivaprasad updated ATLAS-93: ---------------------------------- Fix Version/s: (was: trunk) 0.6-incubating Affects Version/s: (was: 0.5-incubating) 0.6-incubating > import-hive.sh reports FileNotFoundException > -------------------------------------------- > > Key: ATLAS-93 > URL: https://issues.apache.org/jira/browse/ATLAS-93 > Project: Atlas > Issue Type: Bug > Affects Versions: 0.6-incubating > Reporter: Chen He > Assignee: Shwetha G S > Fix For: 0.6-incubating > > Attachments: ATLAS-93.patch > > > [root@hostname apache-atlas-0.6-incubating-SNAPSHOT]# ./bin/import-hive.sh > Using Hive configuration directory [/etc/hive/conf] > Logs for import are in > /scratch/atlas/apache-atlas-0.6-incubating-SNAPSHOT/logs/import-hive.log > log4j:ERROR setFile(null,true) call failed. > java.io.FileNotFoundException: / (Is a directory) > at java.io.FileOutputStream.open(Native Method) > at java.io.FileOutputStream.<init>(FileOutputStream.java:221) > at java.io.FileOutputStream.<init>(FileOutputStream.java:142) > 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:277) > at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:288) > at > org.apache.atlas.hive.bridge.HiveMetaStoreBridge.<clinit>(HiveMetaStoreBridge.java:65) > log4j:ERROR Either File or DatePattern options are not set for appender > [FILE]. > Hive Data Model imported successfully!!! -- This message was sent by Atlassian JIRA (v6.3.4#6332)