Uploaded image for project: 'Kite SDK (READ-ONLY)'
  1. Kite SDK (READ-ONLY)
  2. KITE-792

Inaccurate error message when creating Hive dataset fails

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 0.17.0
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      I tried to run a Kite command in a web application (hosted by tomcat 6), but met the following error message:

      org.kitesdk.data.DatasetNotFoundException: Unknown dataset URI: hive://cdh5-cluster:9083/ns/test1
      	at org.kitesdk.data.spi.Registration.lookupDatasetUri(Registration.java:109)
      	at org.kitesdk.data.Datasets.exists(Datasets.java:356)
      	at org.kitesdk.data.Datasets.exists(Datasets.java:376)
      

      I figured out that tomcat did not set environment variables HIVE_HOME and HCAT_HOME properly. The error message is a bit misleading. It would be great, if the error message can hint to set HIVE_HOME in case of a Hive usage.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                stanleyxu2005 Qian Xu
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: