You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Joydeep Sen Sarma (JIRA)" <ji...@apache.org> on 2009/01/24 04:05:59 UTC

[jira] Commented: (HIVE-248) load data local is not defaulting to 'file' as schema for source path

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

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

one small thing - in the previous code - we used to fill in the namenode automatically in case scheme was specified and the authority was not:

        if(fromScheme.equals("hdfs")) { 
              URI defaultURI = FileSystem.get(conf).getUri();
	       fromAuthority = StringUtils.isEmpty(fromURI.getAuthority()) ?  fromScheme = defaultURI.getScheme();
              fs.getUri().getAuthority() : fromURI.getAuthority();

we can restore this ..

> load data local is not defaulting to 'file' as schema for source path
> ---------------------------------------------------------------------
>
>                 Key: HIVE-248
>                 URL: https://issues.apache.org/jira/browse/HIVE-248
>             Project: Hadoop Hive
>          Issue Type: Bug
>          Components: Clients
>            Reporter: Joydeep Sen Sarma
>            Assignee: Joydeep Sen Sarma
>            Priority: Critical
>         Attachments: hive-248.patch
>
>
> Jeff'e email:
> I've executed this "LOAD DATA" statement a number of times before and never had this issue. When I drop into the shell, I can see the file I'm trying to load. Hive can't, however; any ideas on what's going on? I'd love to get tips on how to debug this problem as well.
> hive > LOAD DATA LOCAL INPATH 'ml-data/u.data' OVERWRITE INTO TABLE u_data;                 
> FAILED: Error in semantic analysis: line 3:23 Invalid Path 'ml-data/u.data': No files matching path
> hive > !ls ml-data;

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.