You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Bing Li (JIRA)" <ji...@apache.org> on 2015/04/27 12:37:38 UTC
[jira] [Updated] (HIVE-4577) hive CLI can't handle hadoop dfs
command with space and quotes.
[ https://issues.apache.org/jira/browse/HIVE-4577?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bing Li updated HIVE-4577:
--------------------------
Attachment: HIVE-4577.4.patch
Re-create the patch file based on the latest code in trunk
> hive CLI can't handle hadoop dfs command with space and quotes.
> ----------------------------------------------------------------
>
> Key: HIVE-4577
> URL: https://issues.apache.org/jira/browse/HIVE-4577
> Project: Hive
> Issue Type: Bug
> Components: CLI
> Affects Versions: 0.9.0, 0.10.0
> Reporter: Bing Li
> Assignee: Bing Li
> Attachments: HIVE-4577.1.patch, HIVE-4577.2.patch, HIVE-4577.3.patch.txt, HIVE-4577.4.patch
>
>
> As design, hive could support hadoop dfs command in hive shell, like
> hive> dfs -mkdir /user/biadmin/mydir;
> but has different behavior with hadoop if the path contains space and quotes
> hive> dfs -mkdir "hello";
> drwxr-xr-x - biadmin supergroup 0 2013-04-23 09:40 /user/biadmin/"hello"
> hive> dfs -mkdir 'world';
> drwxr-xr-x - biadmin supergroup 0 2013-04-23 09:43 /user/biadmin/'world'
> hive> dfs -mkdir "bei jing";
> drwxr-xr-x - biadmin supergroup 0 2013-04-23 09:44 /user/biadmin/"bei
> drwxr-xr-x - biadmin supergroup 0 2013-04-23 09:44 /user/biadmin/jing"
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)