Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-4748

Problem getting system property "PIG_WIDEROW_INPUT" in CassandraStorage

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Low
    • Resolution: Duplicate
    • 1.2.0 beta 2
    • None
    • None
    • AWS running Centos 5.6 using Sun build 1.6.0_24-b07

    • Low

    Description

      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));

      Attachments

        1. 4748.txt
          1 kB
          Dave Brosius

        Activity

          People

            dbrosius@apache.org Dave Brosius
            oberman Will Oberman
            Dave Brosius
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: