incubator-ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yusaku Sako (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AMBARI-2557) Ambari fails to add second Namenode storage directory
Date Wed, 03 Jul 2013 16:14:20 GMT

     [ https://issues.apache.org/jira/browse/AMBARI-2557?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Yusaku Sako updated AMBARI-2557:
--------------------------------

    Description: 
PROBLEM:  When using Ambari UI to add second NameNode storage directory, Ambari fails to produce
correct configuration in hdfs-site.xml   

STEPS TO REPRODUCE:  

1. Stop HDFS and MapReduce on the cluster
2. Go to Ambari UI and navigate to Services Tab and select HDFS
3. Click on Configs Tab under HDFS
4. Add second NameNode storage directory using format below:

/hadoop/hdfs/namenode
/hadoop1/hdfs/namenode

5. Save configuration
6. Start HDFS

ACTUAL BEHAVIOR:  Ambari fails to start HDFS. 

EXPECTED BEHAVIOR:  To be able to make configuration change and to start HDFS.

Configuration in UI was done similar as during installation process - not using comma separated
values.  However, this is not transfered correctly to hdfs-site.xml.  See below the configuration
produced by Ambari:

</property>
    <property>
    <name>dfs.name.dir</name>
    <value>/hadoop/hdfs/namenode
/hadoop1/hdfs/namenode</value>
  </property>


Please note that the values are not comma separated as needed for correct configuration to
work.

I was able to make configuration work by making following config in UI:

/hadoop/hdfs/namenode,/hadoop1/hdfs/namenode


This produced correct config in hdfs-site.xml.

Please note that during installation input values entering one location per line and produces
correct configuration.  Also, there is no guidance in UI to specify how to configure this
correctly.

  was:
PROBLEM:  When using Ambari UI to add second NameNode storage directory, Ambari fails to produce
correct configuration in hdfs-site.xml   

BUSINESS IMPACT:   users might not be able to take advantage of the feature and add second
NameNode storage directory.

STEPS TO REPRODUCE:  

1. Stop HDFS and MapReduce on the cluster
2. Go to Ambari UI and navigate to Services Tab and select HDFS
3. Click on Configs Tab under HDFS
4. Add second NameNode storage directory using format below:

/hadoop/hdfs/namenode
/hadoop1/hdfs/namenode

5. Save configuration
6. Start HDFS

ACTUAL BEHAVIOR:  Ambari fails to start HDFS. 

EXPECTED BEHAVIOR:  To be able to make configuration change and to start HDFS.

SUPPORT ANALYSIS: 

Configuration in UI was done similar as during installation process - not using comma separated
values.  However, this is not transfered correctly to hdfs-site.xml.  See below the configuration
produced by Ambari:

</property>
    <property>
    <name>dfs.name.dir</name>
    <value>/hadoop/hdfs/namenode
/hadoop1/hdfs/namenode</value>
  </property>


Please note that the values are not comma separated as needed for correct configuration to
work.

I was able to make configuration work by making following config in UI:

/hadoop/hdfs/namenode,/hadoop1/hdfs/namenode


This produced correct config in hdfs-site.xml.

Please note that during installation input values entering one location per line and produces
correct configuration.  Also, there is no guidance in UI to specify how to configure this
correctly.

    
> Ambari fails to add second Namenode storage directory 
> ------------------------------------------------------
>
>                 Key: AMBARI-2557
>                 URL: https://issues.apache.org/jira/browse/AMBARI-2557
>             Project: Ambari
>          Issue Type: Bug
>          Components: client
>    Affects Versions: 1.2.3
>            Reporter: Andrii Babiichuk
>            Assignee: Andrii Babiichuk
>             Fix For: 1.2.5
>
>         Attachments: AMBARI-2557.patch
>
>
> PROBLEM:  When using Ambari UI to add second NameNode storage directory, Ambari fails
to produce correct configuration in hdfs-site.xml   
> STEPS TO REPRODUCE:  
> 1. Stop HDFS and MapReduce on the cluster
> 2. Go to Ambari UI and navigate to Services Tab and select HDFS
> 3. Click on Configs Tab under HDFS
> 4. Add second NameNode storage directory using format below:
> /hadoop/hdfs/namenode
> /hadoop1/hdfs/namenode
> 5. Save configuration
> 6. Start HDFS
> ACTUAL BEHAVIOR:  Ambari fails to start HDFS. 
> EXPECTED BEHAVIOR:  To be able to make configuration change and to start HDFS.
> Configuration in UI was done similar as during installation process - not using comma
separated values.  However, this is not transfered correctly to hdfs-site.xml.  See below
the configuration produced by Ambari:
> </property>
>     <property>
>     <name>dfs.name.dir</name>
>     <value>/hadoop/hdfs/namenode
> /hadoop1/hdfs/namenode</value>
>   </property>
> Please note that the values are not comma separated as needed for correct configuration
to work.
> I was able to make configuration work by making following config in UI:
> /hadoop/hdfs/namenode,/hadoop1/hdfs/namenode
> This produced correct config in hdfs-site.xml.
> Please note that during installation input values entering one location per line and
produces correct configuration.  Also, there is no guidance in UI to specify how to configure
this correctly.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message