tajo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "hyoungjunkim (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (TAJO-499) Shorten the length of classpath in shell command
Date Thu, 16 Jan 2014 12:20:20 GMT

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

hyoungjunkim updated TAJO-499:
------------------------------

    Attachment: TAJO-499.patch

I changed the followings in bin/tajo.
- remove *.xml from classpath
- remove all jars in lib from classpath
- add lib/* to classpath
- export CLASSPATH
- remove -classpath $CLASSPATH from exec command line  

The following is Tajo's daemon process list after changing .
{code}
$ ps -ef | grep TajoMaster
hadoop   31402     1 17 21:10 pts/0    00:00:07 /usr/java/default/bin/java -Dproc_master -XX:+PrintGCTimeStamps
-Xmx2000m -Dtajo.log.dir=/home/hadoop/tajo/logs -Dtajo.log.file=tajo-hadoop-master-gruter101.gruter.com.log
-Dtajo.home.dir=/home/hadoop/tajo -Dtajo.id.str=hadoop -Dtajo.root.logger=INFO,DRFA -Djava.library.path=/home/hadoop/hadoop-2.2.0/lib/native/
-Dtajo.policy.file=tajo-policy.xml org.apache.tajo.master.TajoMaster

$ ps -ef | grep TajoWorker
hadoop   30927     1  9 21:10 ?        00:00:08 /usr/java/default/bin/java -Dproc_worker -XX:+PrintGCTimeStamps
-Xmx8000m -Dtajo.log.dir=/home/hadoop/tajo/logs -Dtajo.log.file=tajo-hadoop-worker-gruter104.gruter.com.log
-Dtajo.home.dir=/home/hadoop/tajo -Dtajo.id.str=hadoop -Dtajo.root.logger=INFO,DRFA -Djava.library.path=/home/hadoop/hadoop-2.2.0/lib/native/
-Dtajo.policy.file=tajo-policy.xml org.apache.tajo.worker.TajoWorker
{code}

Please review this patch.

> Shorten the length of classpath in shell command
> ------------------------------------------------
>
>                 Key: TAJO-499
>                 URL: https://issues.apache.org/jira/browse/TAJO-499
>             Project: Tajo
>          Issue Type: Improvement
>            Reporter: hyoungjunkim
>            Assignee: hyoungjunkim
>            Priority: Trivial
>         Attachments: TAJO-499.patch
>
>
>  Currently TAJO uses as a file-by-file in the classpath. When type ps command, Tajo's
process command line is too long. 
> Hadoop uses wildcard in classpath like "lib/*".  



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message