[ https://issues.apache.org/jira/browse/PIG-2046?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13030769#comment-13030769 ]
Kevin J. Price commented on PIG-2046: ------------------------------------- Odd. It definitely works correctly if you set up a "pig-cluster-hadoop-site.xml" file in a conf directory and include it on the class path using -cp. That's the workaround I'm using right now. > 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