Uploaded image for project: 'Kite SDK'
  1. Kite SDK
  2. KITE-170

Permissions error when creating an HCatalog dataset with external tables

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 0.8.0
    • Fix Version/s: 0.8.0
    • Component/s: Data Module
    • Labels:
      None

      Description

      When running the demo example there is an error creating the data directory since it is created by the 'hive' user, not by the current user (as was the case in CDK 0.7.0):

      Caused by: java.lang.RuntimeException: Hive table creation exception
      	at com.cloudera.cdk.data.hcatalog.HCatalog.createTable(HCatalog.java:73)
      	at com.cloudera.cdk.data.hcatalog.HCatalogExternalMetadataProvider.create(HCatalogExternalMetadataProvider.java:89)
      	at com.cloudera.cdk.data.filesystem.FileSystemDatasetRepository.create(FileSystemDatasetRepository.java:195)
      	at com.cloudera.cdk.maven.plugins.CreateDatasetMojo.execute(CreateDatasetMojo.java:89)
      	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
      	... 20 more
      Caused by: MetaException(message:Got exception: org.apache.hadoop.security.AccessControlException Permission denied: user=hive, access=WRITE, inode="/tmp/data":tom:supergroup:drwxr-xr-x
      

        Attachments

          Activity

            People

            • Assignee:
              tom Tom White
              Reporter:
              tom Tom White
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: