Uploaded image for project: 'Kylin'
  1. Kylin
  2. KYLIN-4616

The value of config kylin.source.hive.databasedir can be self detected

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • v3.1.1
    • None
    • None

    Description

      We can detect the value of config hive.metastore.warehouse.dir from the hive-site.xml. Then we can set the value of config kylin.source.hive.databasedir by:

      • If kylin.dictionary.mr-hive.database is empty, then use get("hive.metastore.warehouse.dir");
      • else use get("hive.metastore.warehouse.dir") + "/" + get("kylin.dictionary.mr-hive.database")+".db"

      Attachments

        Issue Links

          Activity

            People

              yaho Zhong Yanghong
              yaho Zhong Yanghong
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: