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

Dénes Bodó commented on OOZIE-3339:
-----------------------------------

The way this {{user.name}} issue can be reproduced using Oozie client:
{noformat}
oozie sqoop -command "sqoop import --connect 
jdbc:mysql://my-mysl-host.com/metastore --table COLUMNS_V2 --username hive 
--password hive --target-dir /user/hive/warehouse --verbose 
--delete-target-dir" -oozie https://my-oozie-host.com/oozie -config 
job.properties  {noformat}
Where the job.properties look like
{noformat}
yarn.resourcemanager.address=yarnRM
fs.defaultFS=hdfs://my-hdfs-namenode.com:8020
oozie.libpath=/user/oozie/share/lib/lib_20220215061648{noformat}
This means if the solution was to remove the feature then Oozie server, Oozie 
client and Oozie documentation are affected.

> Enhance proxy job submission documentation
> ------------------------------------------
>
>                 Key: OOZIE-3339
>                 URL: https://issues.apache.org/jira/browse/OOZIE-3339
>             Project: Oozie
>          Issue Type: Improvement
>          Components: docs
>            Reporter: Andras Salamon
>            Priority: Major
>
> The documentation should make it clear that the proxy job submission methods 
> can only be used for simple job submissions (e.g. no support for credentials) 
> and the documentation should  suggest an alternative if someone wants a more 
> complex workflow.
> The documentation (and the examples) also shows that it's possible to specify 
> {{user.name}} during proxy job submission. It is not true anymore (see 
> OOZIE-3370), so this has to be fixed. The documentation even lists this 
> property as required, it should be tested what happens if we omit the 
> property.
> Relevant parts of the documentation:
>  * 
> [https://oozie.apache.org/docs/5.1.0/WebServicesAPI.html#Proxy_MapReduce_Job_Submission]
>  * 
> [https://oozie.apache.org/docs/5.1.0/WebServicesAPI.html#Proxy_Pig_Job_Submission]
>  * 
> [https://oozie.apache.org/docs/5.1.0/WebServicesAPI.html#Proxy_Hive_Job_Submission]
>  * 
> [https://oozie.apache.org/docs/5.1.0/WebServicesAPI.html#Proxy_Sqoop_Job_Submission]
>  



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to