varunsrinath opened a new issue, #5231:
URL: https://github.com/apache/iceberg/issues/5231

   Despite overriding the workdirectory the meta data is alway getting create 
under /user/hive/  dir
   
   the table gets created at the correct location, only the metadata still 
points to /user/hive.
   
   unfortunately on Mac we cannot create /user/hive folder..
   
   hive> CREATE TABLE z (i int) STORED BY 
'org.apache.iceberg.mr.hive.HiveIcebergStorageHandler';
   FAILED: Execution Error, return code 1 from 
org.apache.hadoop.hive.ql.exec.DDLTask. 
org.apache.iceberg.exceptions.RuntimeIOException: Failed to create file: 
file:/user/hive/warehouse/z/metadata/00000-34dff96a-8d34-43f3-b49a-592deada0e0d.metadata.json
   
   
   <property>
       <name>hive.metastore.warehouse.dir</name>
       <value>/Users/myname/Desktop/workspace/hdfs</value>
       <description>location of default database for the warehouse</description>
     </property>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to