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

Arpit Gupta commented on FALCON-162:
------------------------------------

Thats because we were doing that in the falcon script already. Here is what the 
bin/falcon script did

{code}
FALCONCPPATH="$FALCON_CONF:${BASEDIR}/conf:"
for i in "${BASEDIR}/client/lib/"*.jar; do
  FALCONCPPATH="${FALCONCPPATH}:$i"
done
for i in "${BASEDIR}/server/webapp/"*/WEB-INF/lib/*.jar; do
  FALCONCPPATH="${FALCONCPPATH}:$i"
done
{code}


I just moved the logic for the class path to falcon-config.sh and did not 
change what gets added.

> Update falcon scripts to let the user set the log and pid locations.
> --------------------------------------------------------------------
>
>                 Key: FALCON-162
>                 URL: https://issues.apache.org/jira/browse/FALCON-162
>             Project: Falcon
>          Issue Type: Bug
>    Affects Versions: 0.3
>            Reporter: Arpit Gupta
>            Assignee: Arpit Gupta
>             Fix For: 0.4
>
>         Attachments: FALCON-162-1383346559.patch, 
> FALCON-162-1383669144.patch, FALCON-162-1383750942.patch, 
> FALCON-162-1383789543.patch, FALCON-162-1383836907.patch, FALCON-162.patch, 
> FALCON-162.patch, FALCON-162.patch
>
>
> Current falcon scripts hard code the location of the log and the pid dirs. 
> Instead if we added the ability to source a falcon-env.sh which the user 
> could provide then the user can overwrite these locations to some thing else.
> This would also allow the user a way to set JAVA_HOME and other env vars in a 
> file rather than doing it in a shell. This is something similar to how hadoop 
> works.
> Along with this change i also plan on changing the classpath to list dir/* 
> instead of every jar file. Again this is similar to what hadoop 2 does.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to