[ 
https://issues.apache.org/jira/browse/ATLAS-46?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14629294#comment-14629294
 ] 

Shwetha G S commented on ATLAS-46:
----------------------------------

Yes, full path works on properties file. But commons-configuration library that 
we use still doesn't support variables in properties file. That feature is 
still in beta and is not production ready.

Yes, we could move to hadoop style configuration. Thats bigger change and lets 
address that in another jira if required

> Different data directory with restart
> -------------------------------------
>
>                 Key: ATLAS-46
>                 URL: https://issues.apache.org/jira/browse/ATLAS-46
>             Project: Atlas
>          Issue Type: Bug
>            Reporter: Shwetha G S
>            Assignee: Shwetha G S
>            Priority: Critical
>             Fix For: trunk
>
>         Attachments: ATLAS-46.patch, application.log
>
>
> Atlas start picks up different data directories - initially 
> ./server/webapp/atlas/data and after restart ./data. This must be because of 
> relative path in the configuration
> {noformat}
> apache-atlas-0.6-incubating-SNAPSHOT$ ps -ef | grep -i atlas
>   504  6437     1   0 11:51AM ttys000    0:07.66 
> /Library/Java/JavaVirtualMachines/jdk1.7.0_79.jdk/Contents/Home/bin/java 
> -Datlas.log.dir=/Users/sshivalingamurthy/git/atlas-clone/target/apache-atlas-0.6-incubating-SNAPSHOT/logs
>  -Datlas.log.file=application.log 
> -Datlas.home=/Users/sshivalingamurthy/git/atlas-clone/target/apache-atlas-0.6-incubating-SNAPSHOT
>  
> -Datlas.conf=/Users/sshivalingamurthy/git/atlas-clone/target/apache-atlas-0.6-incubating-SNAPSHOT/conf
>  -Xmx1024m -classpath 
> /Users/sshivalingamurthy/git/atlas-clone/target/apache-atlas-0.6-incubating-SNAPSHOT/conf:/Users/sshivalingamurthy/git/atlas-clone/target/apache-atlas-0.6-incubating-SNAPSHOT/server/webapp/atlas/WEB-INF/classes:/Users/sshivalingamurthy/git/atlas-clone/target/apache-atlas-0.6-incubating-SNAPSHOT/server/webapp/atlas/WEB-INF/lib/*:/Users/sshivalingamurthy/git/atlas-clone/target/apache-atlas-0.6-incubating-SNAPSHOT/libext/*
>  org.apache.atlas.Main -app 
> /Users/sshivalingamurthy/git/atlas-clone/target/apache-atlas-0.6-incubating-SNAPSHOT/server/webapp/atlas
> apache-atlas-0.6-incubating-SNAPSHOT$ find . -name data
> ./server/webapp/atlas/data
> ./server/webapp/atlas/data/es/data
> ./server/webapp/atlas/lib/jquery/src/data
> apache-atlas-0.6-incubating-SNAPSHOT$ ./bin/atlas_stop.py
> apache-atlas-0.6-incubating-SNAPSHOT$ ps -ef | grep atlas
>   504  6457     1   0 11:54AM ttys000    0:07.50 
> /Library/Java/JavaVirtualMachines/jdk1.7.0_79.jdk/Contents/Home/bin/java 
> -Datlas.log.dir=/Users/sshivalingamurthy/git/atlas-clone/target/apache-atlas-0.6-incubating-SNAPSHOT/logs
>  -Datlas.log.file=application.log 
> -Datlas.home=/Users/sshivalingamurthy/git/atlas-clone/target/apache-atlas-0.6-incubating-SNAPSHOT
>  
> -Datlas.conf=/Users/sshivalingamurthy/git/atlas-clone/target/apache-atlas-0.6-incubating-SNAPSHOT/conf
>  -Xmx1024m -classpath 
> /Users/sshivalingamurthy/git/atlas-clone/target/apache-atlas-0.6-incubating-SNAPSHOT/conf:/Users/sshivalingamurthy/git/atlas-clone/target/apache-atlas-0.6-incubating-SNAPSHOT/server/webapp/atlas/WEB-INF/classes:/Users/sshivalingamurthy/git/atlas-clone/target/apache-atlas-0.6-incubating-SNAPSHOT/server/webapp/atlas/WEB-INF/lib/*:/Users/sshivalingamurthy/git/atlas-clone/target/apache-atlas-0.6-incubating-SNAPSHOT/libext/*
>  org.apache.atlas.Main -app 
> /Users/sshivalingamurthy/git/atlas-clone/target/apache-atlas-0.6-incubating-SNAPSHOT/server/webapp/atlas
> apache-atlas-0.6-incubating-SNAPSHOT$ find . -name data
> ./data
> ./data/es/data
> ./server/webapp/atlas/data
> ./server/webapp/atlas/data/es/data
> ./server/webapp/atlas/lib/jquery/src/data
> {noformat}



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

Reply via email to