hadoop-hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joydeep Sen Sarma (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HIVE-453) external table metastore and execution codepaths use default FileSystem object instead of using one derived from the supplied path
Date Mon, 04 May 2009 18:57:30 GMT

    [ https://issues.apache.org/jira/browse/HIVE-453?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12705684#action_12705684
] 

Joydeep Sen Sarma commented on HIVE-453:
----------------------------------------

there seems to have been a merge problem with 0.3. Warehouse.java

trunk:
     return f.getFileSystem(conf);

0.3:
    return whRoot.getFileSystem(conf);

also - the changes to clidriver to optionally proceed in spite of errors are missing. (on
the bright side - the test is good :-))

Actually - i am ok reverting these changes in 0.3. i don't think it makes sense to get 467
into it (too many changes) and without it - this will not help that much.

> 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
>             Fix For: 0.4.0
>
>         Attachments: hive-453.4.patch, hive-453.4.tests.patch, hive-453.br0.3.4.patch,
hive-453.patch.1, hive-453.patch.2, hive-453.patch.3
>
>
> 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.


Mime
View raw message