Hadoop Common
  1. Hadoop Common
  2. HADOOP-10292

Restore HttpServer from branch-2.2 in branch-2

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.3.0
    • Fix Version/s: 2.3.0
    • Component/s: None
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      Reviewed

      Description

      This jira is a follow-up jira of HADOOP-10255. It brings in the HttpServer in branch-2.2 directly into branch-2 to restore the compatibility of HBase.

        Issue Links

          Activity

          Hide
          Andrew Wang added a comment -

          FYI with the reswizzle of branch-2.3, I think this was missed. I just merged it to the new branch-2.3.

          Show
          Andrew Wang added a comment - FYI with the reswizzle of branch-2.3, I think this was missed. I just merged it to the new branch-2.3.
          Hide
          Suresh Srinivas added a comment -

          I have committed this change to branch-2. Thank you Haohui Mai. Thank you stack for testing and review.

          HttpServer needs to be removed in branch-2 once HBase stops using it from Hadoop Common.

          Show
          Suresh Srinivas added a comment - I have committed this change to branch-2. Thank you Haohui Mai . Thank you stack for testing and review. HttpServer needs to be removed in branch-2 once HBase stops using it from Hadoop Common.
          Hide
          Suresh Srinivas added a comment -

          +1 for the patch.

          I am going to commit these changes soon. stack, if you do any more tests or find issues, please comment on this jira. We can have a separate follow up.

          Show
          Suresh Srinivas added a comment - +1 for the patch. I am going to commit these changes soon. stack , if you do any more tests or find issues, please comment on this jira. We can have a separate follow up.
          Hide
          stack added a comment -

          Putting in place a hadoop-common jar made from the tip of branch-2.3 with these HADOOP-10255 and HADOOP-10292 applied works for me. I am cluster-challenged at the moment so this was standalone test only (I tried a hadoop-common jar w/o the patches and got ClassNotFound for HttpServer... as expected). I'd be +1 on commit of this and hadoop-10255 (Let me know if you want me commit them). I will try and cluster test more this evening if I get my cluster back to see if that alters anything but do not expect it too. Thanks.

          Show
          stack added a comment - Putting in place a hadoop-common jar made from the tip of branch-2.3 with these HADOOP-10255 and HADOOP-10292 applied works for me. I am cluster-challenged at the moment so this was standalone test only (I tried a hadoop-common jar w/o the patches and got ClassNotFound for HttpServer... as expected). I'd be +1 on commit of this and hadoop-10255 (Let me know if you want me commit them). I will try and cluster test more this evening if I get my cluster back to see if that alters anything but do not expect it too. Thanks.
          Hide
          Suresh Srinivas added a comment -

          Thanks stack for the help. Once you confirm that it is working, I will commit the change.

          Show
          Suresh Srinivas added a comment - Thanks stack for the help. Once you confirm that it is working, I will commit the change.
          Hide
          stack added a comment -

          Haohui Mai I am on it now.

          Show
          stack added a comment - Haohui Mai I am on it now.
          Hide
          Haohui Mai added a comment -

          stack, can you please quickly verify that HADOOP-10255 and HADOOP-10292 solve the compatibility issue for HBase? Thanks.

          Show
          Haohui Mai added a comment - stack , can you please quickly verify that HADOOP-10255 and HADOOP-10292 solve the compatibility issue for HBase? Thanks.
          Hide
          Haohui Mai added a comment -

          Based on the discussion in HADOOP-10255 and HBASE-10336, here is the proposed fix for the compatibility issues for HBase:

          1. Fork HttpServer2 from HttpServer in trunk. HDFS and YARN will only use HttpServer2. Hadoop will continue to maintain HttpServer2. HttpServer does not exist in trunk.
          2. Bring HttpServer directly into branch-2 from branch-2.2. This allows HBase to work seamlessly between Hadoop 2.x and future releases that based on branch-2. The class can be tailored to make sure that HBase works with Hadoop 2.x releases. Once HBASE-10336 is resolved, the class can be removed from branch-2.
          Show
          Haohui Mai added a comment - Based on the discussion in HADOOP-10255 and HBASE-10336 , here is the proposed fix for the compatibility issues for HBase: Fork HttpServer2 from HttpServer in trunk. HDFS and YARN will only use HttpServer2 . Hadoop will continue to maintain HttpServer2 . HttpServer does not exist in trunk. Bring HttpServer directly into branch-2 from branch-2.2. This allows HBase to work seamlessly between Hadoop 2.x and future releases that based on branch-2. The class can be tailored to make sure that HBase works with Hadoop 2.x releases. Once HBASE-10336 is resolved, the class can be removed from branch-2.

            People

            • Assignee:
              Haohui Mai
              Reporter:
              Haohui Mai
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development