You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@oozie.apache.org by renguihe <re...@ebupt.com> on 2013/10/31 08:16:03 UTC
how to set PATH in oozie shell action?
hi,
I guess oozie shell action runs in a seperate sandbox, can not read computable node's local environment variable .
Now I want to use "sh" and "hive" commands in my shell action.
The seperate sandbox $PATH=PATH=.:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:
I append this line into workflow.xml
<env-var>PATH=$PATH:/home/hadoop/hive/bin</env-var>
but it turns to be
PATH=$PATH:/home/hadoop/hive/bin:
the ".:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:" is lost !
I can not use "sh" now!
who can help me?
3x
Best wishes!
HENRY