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

[email protected] commented on OOZIE-736:
-----------------------------------------------------



bq.  On 2012-03-06 10:13:38, Mohammad Islam wrote:
bq.  > 
trunk/core/src/main/java/org/apache/oozie/service/HadoopAccessorService.java, 
line 193
bq.  > <https://reviews.apache.org/r/4186/diff/2/?file=88523#file88523line193>
bq.  >
bq.  >     so will it be an empty configuration? Why not new Configuration() 
which could add the default hadoop configs.
bq.  
bq.  Alejandro Abdelnur wrote:
bq.      And empty configuration to load the hadoop configs, yes, but those 
values are injected as defaults into fully populated JobConf/Configuration 
instances.
bq.  
bq.  Mohammad Islam wrote:
bq.      I am asking the configuration provided in hadoop config files such as 
(*-default.xml) that come with hadoop library.
bq.

that is loaded in an existing configuration. Stil i'm looking at some issues 
with the current approach.


- Alejandro


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/4186/#review5637
-----------------------------------------------------------


On 2012-03-06 05:39:54, Alejandro Abdelnur wrote:
bq.  
bq.  -----------------------------------------------------------
bq.  This is an automatically generated e-mail. To reply, visit:
bq.  https://reviews.apache.org/r/4186/
bq.  -----------------------------------------------------------
bq.  
bq.  (Updated 2012-03-06 05:39:54)
bq.  
bq.  
bq.  Review request for oozie.
bq.  
bq.  
bq.  Summary
bq.  -------
bq.  
bq.  hadoop.configurations= [<AUTHORITY>=<CONFIG_FILE>]* 
bq.  
bq.  Where <AUTHORITY> is the HOST:PORT of the Hadoop JT/NN and <CONFIG_FILE> 
is the Hadoop configuration file to load from the local filesystem with the 
defaults for the corresponding JT/NN. 
bq.  
bq.  In addition, a '*' wildcard would be support for the <AUTHORITY>, this 
would be used as default if the job used authority does not have a custom 
config. 
bq.  
bq.  The Hadoop configuration file would be looked in the Oozie conf/ directory 
bq.  
bq.  An example of this configuration would be: 
bq.  
bq.  hadoop.configuration= *=hadoop-defaultconf.xml 
myjobtracker:8021=hadoop-cluster1.xml, mynamenode:8020=hadoop-cluster1.xml 
bq.  
bq.  Documentation is still missing, coming soon.
bq.  
bq.  
bq.  This addresses bug OOZIE-736.
bq.      https://issues.apache.org/jira/browse/OOZIE-736
bq.  
bq.  
bq.  Diffs
bq.  -----
bq.  
bq.    trunk/core/src/main/conf/hadoop-config.xml PRE-CREATION 
bq.    
trunk/core/src/main/java/org/apache/oozie/service/HadoopAccessorService.java 
1297338 
bq.    trunk/core/src/main/resources/oozie-default.xml 1297338 
bq.    
trunk/core/src/test/java/org/apache/oozie/service/TestHadoopAccessorService.java
 1297338 
bq.    trunk/core/src/test/java/org/apache/oozie/test/XFsTestCase.java 1297338 
bq.    trunk/core/src/test/java/org/apache/oozie/test/XTestCase.java 1297338 
bq.    trunk/core/src/test/resources/hadoop-config.xml PRE-CREATION 
bq.    trunk/core/src/test/resources/test-hadoop-config.xml PRE-CREATION 
bq.    trunk/docs/src/site/twiki/AG_HadoopConfiguration.twiki PRE-CREATION 
bq.    trunk/docs/src/site/twiki/DG_UsingHadoopKerberos.twiki 1297338 
bq.    trunk/docs/src/site/twiki/index.twiki 1297338 
bq.  
bq.  Diff: https://reviews.apache.org/r/4186/diff
bq.  
bq.  
bq.  Testing
bq.  -------
bq.  
bq.  run all testcases with Hadoop 1
bq.  
bq.  
bq.  Thanks,
bq.  
bq.  Alejandro
bq.  
bq.


                
> Add support for configurations per JT/NN
> ----------------------------------------
>
>                 Key: OOZIE-736
>                 URL: https://issues.apache.org/jira/browse/OOZIE-736
>             Project: Oozie
>          Issue Type: New Feature
>          Components: core
>    Affects Versions: 3.2.0
>            Reporter: Alejandro Abdelnur
>            Assignee: Alejandro Abdelnur
>            Priority: Critical
>             Fix For: 3.2.0
>
>
> Currently Oozie does not support oozie-server-side configs for the JT/NN and 
> users must add all values explicitly in their workflows.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to