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

add jar command does not work with Windows OS

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.2.0
    • Component/s: None
    • Labels:
      None

      Description

      Steps to reproduce this issue in Windows OS:
      hadoop.cmd fs -mkdir -p /tmp/testjars
      hadoop.cmd fs copyFromLocal <hive-hcatalog-core*.jar> /tmp/testjars
      from hive cli:
      add jar hdfs:///tmp/testjars/hive-hcatalog-core-*.jar;
      add jar D:\hdp\hive-1.2.0.2.3.0.0-1737\hcatalog\share\hcatalog\hive-hcatal
      og-core-1.2.0.2.3.0.0-1737.jar;

      hive> add jar hdfs:///tmp/testjars/hive-hcatalog-core-1.2.0.2.3.0.0-1737.jar;
      converting to local hdfs:///tmp/testjars/hive-hcatalog-core-1.2.0.2.3.0.0-1737.j
      ar
      Illegal character in opaque part at index 2: C:\Users\hadoopqa\AppData\Local\Tem
      p\cf0c70a4-f8e5-43ae-8c94-aa528f90887d_resources\hive-hcatalog-core-1.2.0.2.3.0.
      0-1737.jar
      Query returned non-zero code: 1, cause: java.net.URISyntaxException: Illegal cha
      racter in opaque part at index 2: C:\Users\hadoopqa\AppData\Local\Temp\cf0c70a4-
      f8e5-43ae-8c94-aa528f90887d_resources\hive-hcatalog-core-1.2.0.2.3.0.0-1737.jar
      hive> add jar D:\hdp\hive-1.2.0.2.3.0.0-1737\hcatalog\share\hcatalog\hive-hcatal
      og-core-1.2.0.2.3.0.0-1737.jar;
      Illegal character in opaque part at index 2: D:\hdp\hive-1.2.0.2.3.0.0-1737\hcat
      alog\share\hcatalog\hive-hcatalog-core-1.2.0.2.3.0.0-1737.jar
      Query returned non-zero code: 1, cause: java.net.URISyntaxException: Illegal cha
      racter in opaque part at index 2: D:\hdp\hive-1.2.0.2.3.0.0-1737\hcatalog\share\
      hcatalog\hive-hcatalog-core-1.2.0.2.3.0.0-1737.jar
      

        Attachments

        1. HIVE-10576.3.patch
          3 kB
          Hari Sankar Sivarama Subramaniyan
        2. HIVE-10576.2.patch
          4 kB
          Hari Sankar Sivarama Subramaniyan
        3. HIVE-10576.1.patch
          2 kB
          Hari Sankar Sivarama Subramaniyan

          Activity

            People

            • Assignee:
              hsubramaniyan Hari Sankar Sivarama Subramaniyan
              Reporter:
              hsubramaniyan Hari Sankar Sivarama Subramaniyan
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: