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

Tibor Kiss commented on WHIRR-168:
----------------------------------

Maybe this is the problem.... If I would like to load that hadoop.job.ugi, the 
Configuration it will return an ArrayList.. 

for example

{code}
Configuration conf = new 
PropertiesConfiguration(WHIRR_HADOOP_DEFAULT_PROPERTIES);
Configuration clientConf = conf.subset("hadoop-client-common");
List<String> jobUgi = (List<String>)clientConf.getProperty("hadoop.job.ugi");
System.out.println(">" + jobUgi + "<");
{code}

Will print out
{code}
>[root, root]<
{code}

This is the problem!
Is there an escape character before ',' to not get ArrayList?

> Extend client side configurations and support core-site.xml, mapred-site.xml 
> and hdfs-site.xml instead of hadoop-site.xml
> -------------------------------------------------------------------------------------------------------------------------
>
>                 Key: WHIRR-168
>                 URL: https://issues.apache.org/jira/browse/WHIRR-168
>             Project: Whirr
>          Issue Type: New Feature
>          Components: core, service/hadoop
>         Environment: ec2
>            Reporter: Tibor Kiss
>            Assignee: Tibor Kiss
>            Priority: Minor
>         Attachments: core-site.xml, hdfs-site.xml, 
> local-socks-proxy-address.patch, mapred-site.xml, whirr-168-1.patch, 
> whirr-168-2.patch, whirr-168-3.patch
>
>
> We have a generated .whirr/<hadoop-cluster-name>/hadoop-proxy.sh which 
> contains a hard coded port value, the 6666.
> In order to be able to start multiple clusters from the same console I needed 
> a simple mechanism to be able to parametrize this port number.
> Therefore is required to extend client side configurations, in the same way 
> as WHIRR-55, to be configurable a 'whirr.hadoop-client.hadoop.socks.server' 
> to something like
> whirr.hadoop-client.hadoop.socks.server=localhost:6667
> The default port will remain of course the 6666.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to