Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-3595

Hive should adapt new FsShell commands since Hadoop 2 has changed FsShell argument structures

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 0.9.0
    • Fix Version/s: 0.14.0
    • Component/s: Shims
    • Labels:
      None

      Description

      A simple example is that hive calls "-rmr" in the FsShell class, which in Hadoop 2 is "rm -r". This helps avoid printing an unnecessary Deprecated warning in Hive when the Hadoop23 (or hadoop-2) shim is in use.

      We should wrap the logic and call the right commands of hadoop-2 to avoid this.

        Attachments

        1. HIVE-3595.1.patch.txt
          2 kB
          Navis Ryu

          Issue Links

            Activity

              People

              • Assignee:
                navis Navis Ryu
                Reporter:
                qwertymaniac Harsh J
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: