atlas-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shwetha G S (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ATLAS-46) Different data directory with restart
Date Mon, 20 Jul 2015 08:38:04 GMT

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

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

Yes, having support for variables in properties is useful. But thats more involved and requires
support for EL function and making sure application properties are loaded once. Lets use this
jira to address relative paths as relative paths are useful even with variable support. Created
ATLAS-80 for variable support

> 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)

Mime
View raw message