[
https://issues.apache.org/jira/browse/OOZIE-2295?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14614632#comment-14614632
]
swayam commented on OOZIE-2295:
-------------------------------
Hi Jaydeep,
touch.sh file is in workflow path .and it is mentioned in job.properties also.
if we run the below workflow also we are gettign ther error : JA018.
workflow.xml info is :
<shell xmlns="uri:oozie:shell-action:0.2">
<job-tracker>192.168.162.44:9001</job-tracker>
<name-node>hdfs://192.168.162.44:9000</name-node>
<configuration>
<property>
<name>mapred.job.queue.name</name>
<value>default</value>
</property>
</configuration>
<exec>hadoop fs -touchz</exec>
<argument>tem</argument>
<capture-output />
</shell>
------------------------
But it is working for .. all local cp and mv commands ..
exemple :
<shell xmlns="uri:oozie:shell-action:0.2">
<job-tracker>192.168.162.44:9001</job-tracker>
<name-node>hdfs://192.168.162.44:9000</name-node>
<configuration>
<property>
<name>mapred.job.queue.name</name>
<value>default</value>
</property>
</configuration>
<exec>mv</exec>
<argument>/home/valtech/tem</argument>
<argument>/home/valtech/test</argument>
<capture-output />
</shell>
------
Thanks
> Hadoop fs command is not working in shell action on oozie 4.1.0 verson
> ----------------------------------------------------------------------
>
> Key: OOZIE-2295
> URL: https://issues.apache.org/jira/browse/OOZIE-2295
> Project: Oozie
> Issue Type: Bug
> Components: action
> Affects Versions: 4.1.0
> Reporter: swayam
> Original Estimate: 24h
> Remaining Estimate: 24h
>
> Hi Team,
> I am trying to run hadoop command for moving the data from local machine to
> HDFS in oozie shell action. Though Echo command is working but output is
> blank.
> Please provide me the solution .
> Command I am using inside shell action is " hadoop fs -put local path to HDFS
> path"
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)