pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Dai (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PIG-2046) Properties defined through 'SET' are not passed through to fs commands
Date Fri, 06 May 2011 23:47:03 GMT

    [ https://issues.apache.org/jira/browse/PIG-2046?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13030194#comment-13030194

Daniel Dai commented on PIG-2046:

I tried a test code:
Configuration conf = new Configuration();
conf.set("dfs.umaskmode", "026");
FsShell shell = new FsShell(conf);
shell.run(new String[] {"-touchz", "file0"});

It also does not give the right result. Seems some issue related to FsShell. Will check with
hdfs guys.

> Properties defined through 'SET' are not passed through to fs commands
> ----------------------------------------------------------------------
>                 Key: PIG-2046
>                 URL: https://issues.apache.org/jira/browse/PIG-2046
>             Project: Pig
>          Issue Type: Bug
>    Affects Versions: 0.8.0, 0.9.0
>            Reporter: Vivek Padmanabhan
> The properties which are set through 'SET' commands are not passed through to FS commands.
> Ex;
> SET dfs.umaskmode '026'
> fs -touchz umasktest/file0
> It looks like the SET commands are processed by GruntParser after the FsShell creation
happens with current set of properties. Hence whatever properties defined in SET will not
be reflected for fs commands executed in the script.

This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

View raw message