Will Oberman created CASSANDRA-4748:
---------------------------------------

             Summary: Problem getting system property "PIG_WIDEROW_INPUT" in 
CassandraStorage 
                 Key: CASSANDRA-4748
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4748
             Project: Cassandra
          Issue Type: Bug
          Components: Hadoop
    Affects Versions: 1.1.5
         Environment: AWS running Centos 5.6 using Sun build 1.6.0_24-b07
            Reporter: Will Oberman


Apologies if I haven't entered everything correctly, first bug posted to an 
apache project for me.

The code switches between getenv and getproperty when it should be getenv in 
both places.  This makes it impossible to use the system property.

widerows = DEFAULT_WIDEROW_INPUT;
if (System.getenv(PIG_WIDEROW_INPUT) != null)
    widerows = Boolean.valueOf(System.getProperty(PIG_WIDEROW_INPUT));

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to