[
https://issues.apache.org/jira/browse/HIVE-453?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12705142#action_12705142
]
Prasad Chakka commented on HIVE-453:
------------------------------------
2 Errors in TestCliNegativeDriver (error message is different if s3n is not
configured on the test machine) and 2 in TestHiveMetaStoreChecker and 1 in
TestCliDriver.
diff -a -I \(file:\)\|\(/tmp/.*\)
/data/users/pchakka/workspace/oshive3/build/ql/test/logs/clientnegative/external1.q.out
/data/users/pchakka/workspace/oshive3/ql/src/test/results/clientnegative/external1.q.out
[junit] 1c1
< FAILED: Error in metadata: MetaException(message:Got exception:
java.io.IOException No FileSystem for scheme: s3n)
[junit] ---
[junit] > FAILED: Error in metadata: java.lang.IllegalArgumentException:
AWS Access Key ID and Secret Access Key must be specified as the username or
password (respectively) of a s3n URL, or by setting the fs.s3n.awsAccessKeyId
or fs.s3n.awsSecretAccessKey properties (respectively).
diff -a -I \(file:\)\|\(/tmp/.*\)
/data/users/pchakka/workspace/oshive3/build/ql/test/logs/clientnegative/external2.q.out
/data/users/pchakka/workspace/oshive3/ql/src/test/results/clientnegative/external2.q.out
[junit] 1c1
[junit] Exception: Client execution results failed with error code = 1
[junit] < FAILED: Error in metadata: MetaException(message:Got exception:
java.io.IOException No FileSystem for scheme: s3n)
[junit] ---
[junit] > FAILED: Error in metadata: java.lang.IllegalArgumentException:
AWS Access Key ID and Secret Access Key must be specified as the username or
password (respectively) of a s3n URL, or by setting the fs.s3n.awsAccessKeyId
or fs.s3n.awsSecretAccessKey properties (respectively).
Running org.apache.hadoop.hive.ql.metadata.TestHiveMetaStoreChecker
[junit] Tests run: 2, Failures: 0, Errors: 2, Time elapsed: 6.154 sec
> external table metastore and execution codepaths use default FileSystem
> object instead of using one derived from the supplied path
> ----------------------------------------------------------------------------------------------------------------------------------
>
> Key: HIVE-453
> URL: https://issues.apache.org/jira/browse/HIVE-453
> Project: Hadoop Hive
> Issue Type: Bug
> Components: Metastore
> Reporter: Joydeep Sen Sarma
> Assignee: Joydeep Sen Sarma
> Priority: Critical
> Attachments: hive-453.patch.1, hive-453.patch.2
>
>
> with fs.default.name set to file:///:
> hive> create external table kvu(key int, val string) location
> 's3n://data.s3ndemo.hive/kv1.txt'
> FAILED: Error in metadata: java.lang.IllegalArgumentException: Wrong FS:
> s3n://data.s3ndemo.hive/kv1.txt, expected: file:///
> stack trace:
> at org.apache.hadoop.fs.FileSystem.checkPath(FileSystem.java:322)
> at
> org.apache.hadoop.fs.RawLocalFileSystem.pathToFile(RawLocalFileSystem
> .java:52)
> at
> org.apache.hadoop.fs.RawLocalFileSystem.mkdirs(RawLocalFileSystem.jav
> a:308)
> at
> org.apache.hadoop.fs.ChecksumFileSystem.mkdirs(ChecksumFileSystem.jav
> a:462)
> at
> org.apache.hadoop.hive.metastore.Warehouse.mkdirs(Warehouse.java:90)
> at
> org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.create_tabl
> e(HiveMetaStore.java:293)
> at
> org.apache.hadoop.hive.metastore.HiveMetaStoreClient.createTable(Hive
> MetaStoreClient.java:252)
> at org.apache.hadoop.hive.ql.metadata.Hive.createTable(Hive.java:256)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.