Uploaded image for project: 'Sqoop'
  1. Sqoop
  2. SQOOP-981

The --hadoop-home command line parameter is no longer accepted

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 1.4.3
    • Fix Version/s: 1.4.4
    • Component/s: None
    • Labels:
      None
    • Environment:

      all

      Description

      With SQOOP-796 introduced the changes to use hadoop-mapred-home and HADOOP_MAPRED_HOME. Backwards compatibility with hadoop-home was an objective. Unforunately, --hadoop-home no longer works as --hadoop-home is not added as an option to common options group supported by Sqoop.

      1. SQOOP-981.patch
        3 kB
        Venkat Ranganathan
      2. SQOOP-981.patch.2
        3 kB
        Venkat Ranganathan

        Issue Links

          Activity

          Hide
          jarcec Jarek Jarcec Cecho added a comment -

          Hi Venkat Ranganathan,
          thank you very much for catching this! I'm increasing this to a blocker for 1.4.4 as I think that this is very severe issue that should definitely be fixed in next release.

          Jarcec

          Show
          jarcec Jarek Jarcec Cecho added a comment - Hi Venkat Ranganathan , thank you very much for catching this! I'm increasing this to a blocker for 1.4.4 as I think that this is very severe issue that should definitely be fixed in next release. Jarcec
          Hide
          venkatnrangan Venkat Ranganathan added a comment -

          Added patch to recognize hadoop-home. Added tests to recognize hadoop-home and also test for hadoop-mapred-home overriding hadoop-home

          Show
          venkatnrangan Venkat Ranganathan added a comment - Added patch to recognize hadoop-home. Added tests to recognize hadoop-home and also test for hadoop-mapred-home overriding hadoop-home
          Hide
          venkatnrangan Venkat Ranganathan added a comment -

          Updated patch

          Show
          venkatnrangan Venkat Ranganathan added a comment - Updated patch
          Hide
          jarcec Jarek Jarcec Cecho added a comment -
          Show
          jarcec Jarek Jarcec Cecho added a comment - The patch is in: https://git-wip-us.apache.org/repos/asf?p=sqoop.git;a=commit;h=2d3341488f979d19da5dee71982a1c915170e149 Thank you Venkat for fixing this blocker! Jarcec
          Hide
          hudson Hudson added a comment -

          Integrated in Sqoop-ant-jdk-1.6-hadoop20 #620 (See https://builds.apache.org/job/Sqoop-ant-jdk-1.6-hadoop20/620/)
          SQOOP-981: The --hadoop-home command line parameter is no longer accepted (Revision 2d3341488f979d19da5dee71982a1c915170e149)

          Result = SUCCESS
          jarcec : https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=2d3341488f979d19da5dee71982a1c915170e149
          Files :

          • src/java/org/apache/sqoop/tool/BaseSqoopTool.java
          • src/test/com/cloudera/sqoop/TestSqoopOptions.java
          Show
          hudson Hudson added a comment - Integrated in Sqoop-ant-jdk-1.6-hadoop20 #620 (See https://builds.apache.org/job/Sqoop-ant-jdk-1.6-hadoop20/620/ ) SQOOP-981 : The --hadoop-home command line parameter is no longer accepted (Revision 2d3341488f979d19da5dee71982a1c915170e149) Result = SUCCESS jarcec : https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=2d3341488f979d19da5dee71982a1c915170e149 Files : src/java/org/apache/sqoop/tool/BaseSqoopTool.java src/test/com/cloudera/sqoop/TestSqoopOptions.java
          Hide
          hudson Hudson added a comment -

          Integrated in Sqoop-ant-jdk-1.6-hadoop23 #828 (See https://builds.apache.org/job/Sqoop-ant-jdk-1.6-hadoop23/828/)
          SQOOP-981: The --hadoop-home command line parameter is no longer accepted (Revision 2d3341488f979d19da5dee71982a1c915170e149)

          Result = SUCCESS
          jarcec : https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=2d3341488f979d19da5dee71982a1c915170e149
          Files :

          • src/test/com/cloudera/sqoop/TestSqoopOptions.java
          • src/java/org/apache/sqoop/tool/BaseSqoopTool.java
          Show
          hudson Hudson added a comment - Integrated in Sqoop-ant-jdk-1.6-hadoop23 #828 (See https://builds.apache.org/job/Sqoop-ant-jdk-1.6-hadoop23/828/ ) SQOOP-981 : The --hadoop-home command line parameter is no longer accepted (Revision 2d3341488f979d19da5dee71982a1c915170e149) Result = SUCCESS jarcec : https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=2d3341488f979d19da5dee71982a1c915170e149 Files : src/test/com/cloudera/sqoop/TestSqoopOptions.java src/java/org/apache/sqoop/tool/BaseSqoopTool.java
          Hide
          hudson Hudson added a comment -

          Integrated in Sqoop-ant-jdk-1.6-hadoop200 #620 (See https://builds.apache.org/job/Sqoop-ant-jdk-1.6-hadoop200/620/)
          SQOOP-981: The --hadoop-home command line parameter is no longer accepted (Revision 2d3341488f979d19da5dee71982a1c915170e149)

          Result = SUCCESS
          jarcec : https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=2d3341488f979d19da5dee71982a1c915170e149
          Files :

          • src/java/org/apache/sqoop/tool/BaseSqoopTool.java
          • src/test/com/cloudera/sqoop/TestSqoopOptions.java
          Show
          hudson Hudson added a comment - Integrated in Sqoop-ant-jdk-1.6-hadoop200 #620 (See https://builds.apache.org/job/Sqoop-ant-jdk-1.6-hadoop200/620/ ) SQOOP-981 : The --hadoop-home command line parameter is no longer accepted (Revision 2d3341488f979d19da5dee71982a1c915170e149) Result = SUCCESS jarcec : https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=2d3341488f979d19da5dee71982a1c915170e149 Files : src/java/org/apache/sqoop/tool/BaseSqoopTool.java src/test/com/cloudera/sqoop/TestSqoopOptions.java
          Hide
          hudson Hudson added a comment -

          Integrated in Sqoop-ant-jdk-1.6-hadoop100 #628 (See https://builds.apache.org/job/Sqoop-ant-jdk-1.6-hadoop100/628/)
          SQOOP-981: The --hadoop-home command line parameter is no longer accepted (Revision 2d3341488f979d19da5dee71982a1c915170e149)

          Result = SUCCESS
          jarcec : https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=2d3341488f979d19da5dee71982a1c915170e149
          Files :

          • src/test/com/cloudera/sqoop/TestSqoopOptions.java
          • src/java/org/apache/sqoop/tool/BaseSqoopTool.java
          Show
          hudson Hudson added a comment - Integrated in Sqoop-ant-jdk-1.6-hadoop100 #628 (See https://builds.apache.org/job/Sqoop-ant-jdk-1.6-hadoop100/628/ ) SQOOP-981 : The --hadoop-home command line parameter is no longer accepted (Revision 2d3341488f979d19da5dee71982a1c915170e149) Result = SUCCESS jarcec : https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=2d3341488f979d19da5dee71982a1c915170e149 Files : src/test/com/cloudera/sqoop/TestSqoopOptions.java src/java/org/apache/sqoop/tool/BaseSqoopTool.java

            People

            • Assignee:
              venkatnrangan Venkat Ranganathan
              Reporter:
              venkatnrangan Venkat Ranganathan
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development