pig shell script tests for "hadoop" anywhere in jar path
--------------------------------------------------------
Key: PIG-763
URL: https://issues.apache.org/jira/browse/PIG-763
Project: Pig
Issue Type: Bug
Reporter: Ben Maurer
IS_HADOOP=`echo $f | grep hadoop`
this line tests for hadoop *anywhere* in the path. I unzipped the pig shell
script to a directory that contained the name "hadoop" and thus this tests
always returns true. Rather than "echo", it should use "basename" so that it
only looks at the file name
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.