You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Junping Du (JIRA)" <ji...@apache.org> on 2012/07/06 02:19:34 UTC

[jira] [Created] (HADOOP-8567) Backport conf servlet with dump running configuration to branch 1.x

Junping Du created HADOOP-8567:
----------------------------------

             Summary: Backport conf servlet with dump running configuration to branch 1.x
                 Key: HADOOP-8567
                 URL: https://issues.apache.org/jira/browse/HADOOP-8567
             Project: Hadoop Common
          Issue Type: New Feature
          Components: conf
    Affects Versions: 1.0.3
            Reporter: Junping Du
            Assignee: Junping Du
             Fix For: 0.21.1, 2.0.1-alpha


HADOOP-6408 provide conf servlet that can dump running configuration which great helps admin to trouble shooting the configuration issue. However, that patch works on branch after 0.21 only and should be backport to branch 1.x.

--
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

        

[jira] [Commented] (HADOOP-8567) Port conf servlet to dump running configuration to branch 1.x

Posted by "Suresh Srinivas (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-8567?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13485266#comment-13485266 ] 

Suresh Srinivas commented on HADOOP-8567:
-----------------------------------------

Previous patch did not add the servlet to http server. I reverted the change. The new patch looks good.

Jing can you please make sure servlet is added by manually testing it as well?
                
> Port conf servlet to dump running configuration  to branch 1.x
> --------------------------------------------------------------
>
>                 Key: HADOOP-8567
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8567
>             Project: Hadoop Common
>          Issue Type: New Feature
>          Components: conf
>    Affects Versions: 1.0.0
>            Reporter: Junping Du
>            Assignee: Jing Zhao
>         Attachments: Hadoop.8567.branch-1.001.patch, Hadoop.8567.branch-1.002.patch, Hadoop.8567.branch-1.003.patch, Hadoop.8567.branch-1.004.patch
>
>
> HADOOP-6408 provide conf servlet that can dump running configuration which great helps admin to trouble shooting the configuration issue. However, that patch works on branch after 0.21 only and should be backport to branch 1.x.

--
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

[jira] [Updated] (HADOOP-8567) Port conf servlet to dump running configuration to branch 1.x

Posted by "Suresh Srinivas (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-8567?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Suresh Srinivas updated HADOOP-8567:
------------------------------------

    Summary: Port conf servlet to dump running configuration  to branch 1.x  (was: Backport conf servlet with dump running configuration to branch 1.x)
    
> Port conf servlet to dump running configuration  to branch 1.x
> --------------------------------------------------------------
>
>                 Key: HADOOP-8567
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8567
>             Project: Hadoop Common
>          Issue Type: New Feature
>          Components: conf
>    Affects Versions: 1.0.0
>            Reporter: Junping Du
>            Assignee: Jing Zhao
>         Attachments: Hadoop.8567.branch-1.001.patch, Hadoop.8567.branch-1.002.patch, Hadoop.8567.branch-1.003.patch
>
>
> HADOOP-6408 provide conf servlet that can dump running configuration which great helps admin to trouble shooting the configuration issue. However, that patch works on branch after 0.21 only and should be backport to branch 1.x.

--
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

[jira] [Commented] (HADOOP-8567) Backport conf servlet with dump running configuration to branch 1.x

Posted by "Jing Zhao (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-8567?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13485101#comment-13485101 ] 

Jing Zhao commented on HADOOP-8567:
-----------------------------------

Thanks for the review Suresh! 
{noformat}
@@ -68,6 +70,7 @@ import org.apache.hadoop.util.ReflectionUtils;
 +410,8 @@ public class Configuration implements Iterable<Map.Entry<String,String>>,
      if (other.overlay!=null) {
        this.overlay = (Properties)other.overlay.clone();
      }
+
+     this.updatingResource = new HashMap<String, String>(other.updatingResource);
    }
{noformat}
This has been addressed in the 002 patch.

{noformat}
@@ -604,6 +593,7 @@ public class Configuration implements Iterable<Map.Entry<String,String>>,
     if (!isDeprecated(name)) {
       getOverlay().setProperty(name, value);
       getProps().setProperty(name, value);
+      updatingResource.put(name, UNKNOWN_RESOURCE);
     }
     else {
       DeprecatedKeyInfo keyInfo = deprecatedKeyMap.get(name);
{noformat}
For this, I think I should add "updatingResource.put(name, UNKNOWN_RESOURCE);" to Configuration#set(). Will address that in the new patch.

{noformat}
@@ -1438,9 +1426,7 @@ public class Configuration implements Iterable<Map.Entry<String,String>>,
       if (finalParameters.contains(oldKey)) {
         finalParameters.remove(oldKey);
       }
-      if (storeResource) {
-        updatingResource.remove(oldKey);
-      }
+      updatingResource.remove(oldKey);
     }
   }
{noformat}
For this part, I did not find similar code (should be some code corresponding to remove) in both branch-1 and current trunk.

{noformat}
@@ -1464,9 +1450,7 @@ public class Configuration implements Iterable<Map.Entry<String,String>>,
         continue;
       }
       properties.setProperty(key, value);
-      if (storeResource) {
-        updatingResource.put(key, updatingResource.get(attr));
-      }
+      updatingResource.put(key, updatingResource.get(attr));
       if (finalParameter) {
         finalParameters.add(key);
       }
{noformat}
The similar change happened in Configuration#loadResource in 002 patch.

                
> Backport conf servlet with dump running configuration to branch 1.x
> -------------------------------------------------------------------
>
>                 Key: HADOOP-8567
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8567
>             Project: Hadoop Common
>          Issue Type: New Feature
>          Components: conf
>    Affects Versions: 1.0.0
>            Reporter: Junping Du
>            Assignee: Jing Zhao
>         Attachments: Hadoop.8567.branch-1.001.patch, Hadoop.8567.branch-1.002.patch
>
>
> HADOOP-6408 provide conf servlet that can dump running configuration which great helps admin to trouble shooting the configuration issue. However, that patch works on branch after 0.21 only and should be backport to branch 1.x.

--
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

[jira] [Updated] (HADOOP-8567) Backport conf servlet with dump running configuration to branch 1.x

Posted by "Harsh J (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-8567?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Harsh J updated HADOOP-8567:
----------------------------

    Affects Version/s:     (was: 1.0.3)
                       1.0.0
    
> Backport conf servlet with dump running configuration to branch 1.x
> -------------------------------------------------------------------
>
>                 Key: HADOOP-8567
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8567
>             Project: Hadoop Common
>          Issue Type: New Feature
>          Components: conf
>    Affects Versions: 1.0.0
>            Reporter: Junping Du
>            Assignee: Junping Du
>
> HADOOP-6408 provide conf servlet that can dump running configuration which great helps admin to trouble shooting the configuration issue. However, that patch works on branch after 0.21 only and should be backport to branch 1.x.

--
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

        

[jira] [Resolved] (HADOOP-8567) Port conf servlet to dump running configuration to branch 1.x

Posted by "Suresh Srinivas (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-8567?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Suresh Srinivas resolved HADOOP-8567.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.2.0

Committed the patch to branch-1. Thank you Jing.
                
> Port conf servlet to dump running configuration  to branch 1.x
> --------------------------------------------------------------
>
>                 Key: HADOOP-8567
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8567
>             Project: Hadoop Common
>          Issue Type: New Feature
>          Components: conf
>    Affects Versions: 1.0.0
>            Reporter: Junping Du
>            Assignee: Jing Zhao
>             Fix For: 1.2.0
>
>         Attachments: Hadoop.8567.branch-1.001.patch, Hadoop.8567.branch-1.002.patch, Hadoop.8567.branch-1.003.patch, Hadoop.8567.branch-1.004.patch
>
>
> HADOOP-6408 provide conf servlet that can dump running configuration which great helps admin to trouble shooting the configuration issue. However, that patch works on branch after 0.21 only and should be backport to branch 1.x.

--
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

[jira] [Commented] (HADOOP-8567) Backport conf servlet with dump running configuration to branch 1.x

Posted by "Junping Du (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-8567?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13476779#comment-13476779 ] 

Junping Du commented on HADOOP-8567:
------------------------------------

Sorry. I owe this patch for a long time. Thanks for delivering this patch. I will help on review it.
                
> Backport conf servlet with dump running configuration to branch 1.x
> -------------------------------------------------------------------
>
>                 Key: HADOOP-8567
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8567
>             Project: Hadoop Common
>          Issue Type: New Feature
>          Components: conf
>    Affects Versions: 1.0.0
>            Reporter: Junping Du
>            Assignee: Junping Du
>         Attachments: Hadoop.8567.branch-1.001.patch
>
>
> HADOOP-6408 provide conf servlet that can dump running configuration which great helps admin to trouble shooting the configuration issue. However, that patch works on branch after 0.21 only and should be backport to branch 1.x.

--
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

[jira] [Commented] (HADOOP-8567) Backport conf servlet with dump running configuration to branch 1.x

Posted by "Suresh Srinivas (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-8567?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13408394#comment-13408394 ] 

Suresh Srinivas commented on HADOOP-8567:
-----------------------------------------

+1 for backport. This will be very useful feature on stable release.
                
> Backport conf servlet with dump running configuration to branch 1.x
> -------------------------------------------------------------------
>
>                 Key: HADOOP-8567
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8567
>             Project: Hadoop Common
>          Issue Type: New Feature
>          Components: conf
>    Affects Versions: 1.0.3
>            Reporter: Junping Du
>            Assignee: Junping Du
>             Fix For: 0.21.1, 2.0.1-alpha
>
>
> HADOOP-6408 provide conf servlet that can dump running configuration which great helps admin to trouble shooting the configuration issue. However, that patch works on branch after 0.21 only and should be backport to branch 1.x.

--
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

        

[jira] [Updated] (HADOOP-8567) Port conf servlet to dump running configuration to branch 1.x

Posted by "Matt Foley (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-8567?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matt Foley updated HADOOP-8567:
-------------------------------

    Target Version/s: 1.1.2  (was: 1.2.0)
    
> Port conf servlet to dump running configuration  to branch 1.x
> --------------------------------------------------------------
>
>                 Key: HADOOP-8567
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8567
>             Project: Hadoop Common
>          Issue Type: New Feature
>          Components: conf
>    Affects Versions: 1.0.0
>            Reporter: Junping Du
>            Assignee: Jing Zhao
>             Fix For: 1.1.2
>
>         Attachments: Hadoop.8567.branch-1.001.patch, Hadoop.8567.branch-1.002.patch, Hadoop.8567.branch-1.003.patch, Hadoop.8567.branch-1.004.patch
>
>
> HADOOP-6408 provide conf servlet that can dump running configuration which great helps admin to trouble shooting the configuration issue. However, that patch works on branch after 0.21 only and should be backport to branch 1.x.

--
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

[jira] [Reopened] (HADOOP-8567) Port conf servlet to dump running configuration to branch 1.x

Posted by "Suresh Srinivas (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-8567?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Suresh Srinivas reopened HADOOP-8567:
-------------------------------------


Reopening to commit the issue.
                
> Port conf servlet to dump running configuration  to branch 1.x
> --------------------------------------------------------------
>
>                 Key: HADOOP-8567
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8567
>             Project: Hadoop Common
>          Issue Type: New Feature
>          Components: conf
>    Affects Versions: 1.0.0
>            Reporter: Junping Du
>            Assignee: Jing Zhao
>             Fix For: 1.2.0
>
>         Attachments: Hadoop.8567.branch-1.001.patch, Hadoop.8567.branch-1.002.patch, Hadoop.8567.branch-1.003.patch, Hadoop.8567.branch-1.004.patch
>
>
> HADOOP-6408 provide conf servlet that can dump running configuration which great helps admin to trouble shooting the configuration issue. However, that patch works on branch after 0.21 only and should be backport to branch 1.x.

--
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

[jira] [Commented] (HADOOP-8567) Backport conf servlet with dump running configuration to branch 1.x

Posted by "Jing Zhao (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-8567?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13476621#comment-13476621 ] 

Jing Zhao commented on HADOOP-8567:
-----------------------------------

[~djp], Hi Junping, if you are busy, I can work on the backport and post a patch for it. Thanks!
                
> Backport conf servlet with dump running configuration to branch 1.x
> -------------------------------------------------------------------
>
>                 Key: HADOOP-8567
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8567
>             Project: Hadoop Common
>          Issue Type: New Feature
>          Components: conf
>    Affects Versions: 1.0.0
>            Reporter: Junping Du
>            Assignee: Junping Du
>
> HADOOP-6408 provide conf servlet that can dump running configuration which great helps admin to trouble shooting the configuration issue. However, that patch works on branch after 0.21 only and should be backport to branch 1.x.

--
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

[jira] [Resolved] (HADOOP-8567) Port conf servlet to dump running configuration to branch 1.x

Posted by "Suresh Srinivas (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-8567?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Suresh Srinivas resolved HADOOP-8567.
-------------------------------------

    Resolution: Fixed

+1 for the latest patch. I committed it to branch-1.
                
> Port conf servlet to dump running configuration  to branch 1.x
> --------------------------------------------------------------
>
>                 Key: HADOOP-8567
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8567
>             Project: Hadoop Common
>          Issue Type: New Feature
>          Components: conf
>    Affects Versions: 1.0.0
>            Reporter: Junping Du
>            Assignee: Jing Zhao
>         Attachments: Hadoop.8567.branch-1.001.patch, Hadoop.8567.branch-1.002.patch, Hadoop.8567.branch-1.003.patch
>
>
> HADOOP-6408 provide conf servlet that can dump running configuration which great helps admin to trouble shooting the configuration issue. However, that patch works on branch after 0.21 only and should be backport to branch 1.x.

--
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

[jira] [Commented] (HADOOP-8567) Backport conf servlet with dump running configuration to branch 1.x

Posted by "Suresh Srinivas (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-8567?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13485057#comment-13485057 ] 

Suresh Srinivas commented on HADOOP-8567:
-----------------------------------------

I do not see these changes from HADOOP-6408. Are they not relevant? Rest of the porting looks good.
{noformat}
diff --git src/java/org/apache/hadoop/conf/Configuration.java src/java/org/apache/hadoop/conf/Configuration.java
index e5a4523..7407d8b 100644
--- src/java/org/apache/hadoop/conf/Configuration.java
+++ src/java/org/apache/hadoop/conf/Configuration.java
@@ -68,6 +70,7 @@ import org.apache.hadoop.util.ReflectionUtils;
 +410,8 @@ public class Configuration implements Iterable<Map.Entry<String,String>>,
      if (other.overlay!=null) {
        this.overlay = (Properties)other.overlay.clone();
      }
+
+     this.updatingResource = new HashMap<String, String>(other.updatingResource);
    }
    
     this.finalParameters = new HashSet<String>(other.finalParameters);
@@ -604,6 +593,7 @@ public class Configuration implements Iterable<Map.Entry<String,String>>,
     if (!isDeprecated(name)) {
       getOverlay().setProperty(name, value);
       getProps().setProperty(name, value);
+      updatingResource.put(name, UNKNOWN_RESOURCE);
     }
     else {
       DeprecatedKeyInfo keyInfo = deprecatedKeyMap.get(name);
@@ -1438,9 +1426,7 @@ public class Configuration implements Iterable<Map.Entry<String,String>>,
       if (finalParameters.contains(oldKey)) {
         finalParameters.remove(oldKey);
       }
-      if (storeResource) {
-        updatingResource.remove(oldKey);
-      }
+      updatingResource.remove(oldKey);
     }
   }
   
@@ -1464,9 +1450,7 @@ public class Configuration implements Iterable<Map.Entry<String,String>>,
         continue;
       }
       properties.setProperty(key, value);
-      if (storeResource) {
-        updatingResource.put(key, updatingResource.get(attr));
-      }
+      updatingResource.put(key, updatingResource.get(attr));
       if (finalParameter) {
         finalParameters.add(key);
       }
{noformat}
                
> Backport conf servlet with dump running configuration to branch 1.x
> -------------------------------------------------------------------
>
>                 Key: HADOOP-8567
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8567
>             Project: Hadoop Common
>          Issue Type: New Feature
>          Components: conf
>    Affects Versions: 1.0.0
>            Reporter: Junping Du
>            Assignee: Jing Zhao
>         Attachments: Hadoop.8567.branch-1.001.patch, Hadoop.8567.branch-1.002.patch
>
>
> HADOOP-6408 provide conf servlet that can dump running configuration which great helps admin to trouble shooting the configuration issue. However, that patch works on branch after 0.21 only and should be backport to branch 1.x.

--
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

[jira] [Updated] (HADOOP-8567) Backport conf servlet with dump running configuration to branch 1.x

Posted by "Jing Zhao (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-8567?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jing Zhao updated HADOOP-8567:
------------------------------

    Attachment: Hadoop.8567.branch-1.001.patch

My current patch for the backport.
                
> Backport conf servlet with dump running configuration to branch 1.x
> -------------------------------------------------------------------
>
>                 Key: HADOOP-8567
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8567
>             Project: Hadoop Common
>          Issue Type: New Feature
>          Components: conf
>    Affects Versions: 1.0.0
>            Reporter: Junping Du
>            Assignee: Junping Du
>         Attachments: Hadoop.8567.branch-1.001.patch
>
>
> HADOOP-6408 provide conf servlet that can dump running configuration which great helps admin to trouble shooting the configuration issue. However, that patch works on branch after 0.21 only and should be backport to branch 1.x.

--
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

[jira] [Updated] (HADOOP-8567) Backport conf servlet with dump running configuration to branch 1.x

Posted by "Harsh J (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-8567?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Harsh J updated HADOOP-8567:
----------------------------

    Target Version/s: 1.2.0
       Fix Version/s:     (was: 2.1.0-alpha)
                          (was: 0.21.1)
    
> Backport conf servlet with dump running configuration to branch 1.x
> -------------------------------------------------------------------
>
>                 Key: HADOOP-8567
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8567
>             Project: Hadoop Common
>          Issue Type: New Feature
>          Components: conf
>    Affects Versions: 1.0.0
>            Reporter: Junping Du
>            Assignee: Junping Du
>
> HADOOP-6408 provide conf servlet that can dump running configuration which great helps admin to trouble shooting the configuration issue. However, that patch works on branch after 0.21 only and should be backport to branch 1.x.

--
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

        

[jira] [Commented] (HADOOP-8567) Port conf servlet to dump running configuration to branch 1.x

Posted by "Jing Zhao (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-8567?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13485269#comment-13485269 ] 

Jing Zhao commented on HADOOP-8567:
-----------------------------------

Yes. I've manually tested the new patch and could get the configuration through the conf servlet.
                
> Port conf servlet to dump running configuration  to branch 1.x
> --------------------------------------------------------------
>
>                 Key: HADOOP-8567
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8567
>             Project: Hadoop Common
>          Issue Type: New Feature
>          Components: conf
>    Affects Versions: 1.0.0
>            Reporter: Junping Du
>            Assignee: Jing Zhao
>         Attachments: Hadoop.8567.branch-1.001.patch, Hadoop.8567.branch-1.002.patch, Hadoop.8567.branch-1.003.patch, Hadoop.8567.branch-1.004.patch
>
>
> HADOOP-6408 provide conf servlet that can dump running configuration which great helps admin to trouble shooting the configuration issue. However, that patch works on branch after 0.21 only and should be backport to branch 1.x.

--
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

[jira] [Updated] (HADOOP-8567) Port conf servlet to dump running configuration to branch 1.x

Posted by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-8567?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tsz Wo (Nicholas), SZE updated HADOOP-8567:
-------------------------------------------

    Fix Version/s:     (was: 1.2.0)
                   1.1.2

Merged to branch-1.1.
                
> Port conf servlet to dump running configuration  to branch 1.x
> --------------------------------------------------------------
>
>                 Key: HADOOP-8567
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8567
>             Project: Hadoop Common
>          Issue Type: New Feature
>          Components: conf
>    Affects Versions: 1.0.0
>            Reporter: Junping Du
>            Assignee: Jing Zhao
>             Fix For: 1.1.2
>
>         Attachments: Hadoop.8567.branch-1.001.patch, Hadoop.8567.branch-1.002.patch, Hadoop.8567.branch-1.003.patch, Hadoop.8567.branch-1.004.patch
>
>
> HADOOP-6408 provide conf servlet that can dump running configuration which great helps admin to trouble shooting the configuration issue. However, that patch works on branch after 0.21 only and should be backport to branch 1.x.

--
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

[jira] [Assigned] (HADOOP-8567) Backport conf servlet with dump running configuration to branch 1.x

Posted by "Junping Du (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-8567?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Junping Du reassigned HADOOP-8567:
----------------------------------

    Assignee: Jing Zhao  (was: Junping Du)
    
> Backport conf servlet with dump running configuration to branch 1.x
> -------------------------------------------------------------------
>
>                 Key: HADOOP-8567
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8567
>             Project: Hadoop Common
>          Issue Type: New Feature
>          Components: conf
>    Affects Versions: 1.0.0
>            Reporter: Junping Du
>            Assignee: Jing Zhao
>         Attachments: Hadoop.8567.branch-1.001.patch
>
>
> HADOOP-6408 provide conf servlet that can dump running configuration which great helps admin to trouble shooting the configuration issue. However, that patch works on branch after 0.21 only and should be backport to branch 1.x.

--
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

[jira] [Updated] (HADOOP-8567) Backport conf servlet with dump running configuration to branch 1.x

Posted by "Jing Zhao (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-8567?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jing Zhao updated HADOOP-8567:
------------------------------

    Attachment: Hadoop.8567.branch-1.003.patch

New patch addressing Suresh's comments.
                
> Backport conf servlet with dump running configuration to branch 1.x
> -------------------------------------------------------------------
>
>                 Key: HADOOP-8567
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8567
>             Project: Hadoop Common
>          Issue Type: New Feature
>          Components: conf
>    Affects Versions: 1.0.0
>            Reporter: Junping Du
>            Assignee: Jing Zhao
>         Attachments: Hadoop.8567.branch-1.001.patch, Hadoop.8567.branch-1.002.patch, Hadoop.8567.branch-1.003.patch
>
>
> HADOOP-6408 provide conf servlet that can dump running configuration which great helps admin to trouble shooting the configuration issue. However, that patch works on branch after 0.21 only and should be backport to branch 1.x.

--
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

[jira] [Updated] (HADOOP-8567) Backport conf servlet with dump running configuration to branch 1.x

Posted by "Jing Zhao (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-8567?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jing Zhao updated HADOOP-8567:
------------------------------

    Attachment: Hadoop.8567.branch-1.002.patch
    
> Backport conf servlet with dump running configuration to branch 1.x
> -------------------------------------------------------------------
>
>                 Key: HADOOP-8567
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8567
>             Project: Hadoop Common
>          Issue Type: New Feature
>          Components: conf
>    Affects Versions: 1.0.0
>            Reporter: Junping Du
>            Assignee: Jing Zhao
>         Attachments: Hadoop.8567.branch-1.001.patch, Hadoop.8567.branch-1.002.patch
>
>
> HADOOP-6408 provide conf servlet that can dump running configuration which great helps admin to trouble shooting the configuration issue. However, that patch works on branch after 0.21 only and should be backport to branch 1.x.

--
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

[jira] [Updated] (HADOOP-8567) Port conf servlet to dump running configuration to branch 1.x

Posted by "Jing Zhao (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-8567?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jing Zhao updated HADOOP-8567:
------------------------------

    Release Note: 
Users can use the conf servlet to get the server-side configuration. Users can

1) connect to http_server_url/conf or http_server_url/conf?format=xml and get XML-based configuration description;
2) connect to http_server_url/conf?format=json and get JSON-based configuration description.
    
> Port conf servlet to dump running configuration  to branch 1.x
> --------------------------------------------------------------
>
>                 Key: HADOOP-8567
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8567
>             Project: Hadoop Common
>          Issue Type: New Feature
>          Components: conf
>    Affects Versions: 1.0.0
>            Reporter: Junping Du
>            Assignee: Jing Zhao
>         Attachments: Hadoop.8567.branch-1.001.patch, Hadoop.8567.branch-1.002.patch, Hadoop.8567.branch-1.003.patch, Hadoop.8567.branch-1.004.patch
>
>
> HADOOP-6408 provide conf servlet that can dump running configuration which great helps admin to trouble shooting the configuration issue. However, that patch works on branch after 0.21 only and should be backport to branch 1.x.

--
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

[jira] [Updated] (HADOOP-8567) Port conf servlet to dump running configuration to branch 1.x

Posted by "Suresh Srinivas (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-8567?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Suresh Srinivas updated HADOOP-8567:
------------------------------------

    Hadoop Flags: Reviewed
    
> Port conf servlet to dump running configuration  to branch 1.x
> --------------------------------------------------------------
>
>                 Key: HADOOP-8567
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8567
>             Project: Hadoop Common
>          Issue Type: New Feature
>          Components: conf
>    Affects Versions: 1.0.0
>            Reporter: Junping Du
>            Assignee: Jing Zhao
>         Attachments: Hadoop.8567.branch-1.001.patch, Hadoop.8567.branch-1.002.patch, Hadoop.8567.branch-1.003.patch
>
>
> HADOOP-6408 provide conf servlet that can dump running configuration which great helps admin to trouble shooting the configuration issue. However, that patch works on branch after 0.21 only and should be backport to branch 1.x.

--
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

[jira] [Updated] (HADOOP-8567) Port conf servlet to dump running configuration to branch 1.x

Posted by "Jing Zhao (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-8567?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jing Zhao updated HADOOP-8567:
------------------------------

    Attachment: Hadoop.8567.branch-1.004.patch
    
> Port conf servlet to dump running configuration  to branch 1.x
> --------------------------------------------------------------
>
>                 Key: HADOOP-8567
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8567
>             Project: Hadoop Common
>          Issue Type: New Feature
>          Components: conf
>    Affects Versions: 1.0.0
>            Reporter: Junping Du
>            Assignee: Jing Zhao
>         Attachments: Hadoop.8567.branch-1.001.patch, Hadoop.8567.branch-1.002.patch, Hadoop.8567.branch-1.003.patch, Hadoop.8567.branch-1.004.patch
>
>
> HADOOP-6408 provide conf servlet that can dump running configuration which great helps admin to trouble shooting the configuration issue. However, that patch works on branch after 0.21 only and should be backport to branch 1.x.

--
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