Uploaded image for project: 'Mahout'
  1. Mahout
  2. MAHOUT-1612

NullPointerException happens during JSON output format for clusterdumper

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.9
    • Fix Version/s: 0.10.0
    • Component/s: Clustering
    • Labels:

      Description

      1. download datafile from:
      http://archive.ics.uci.edu/ml/databases/synthetic_control/synthetic_control.data
      2. put data file on hdfs:
      hdfs dfs -mkdir testdata
      hdfs dfs -put synthetic_control.data testdata/
      3. run a mahout clustering job:
      mahout org.apache.mahout.clustering.syntheticcontrol.kmeans.Job
      4. run clusterdump with JSON format:
      mahout clusterdump i output/clusters*-final -p output/clusteredPoints -o /tmp/report -of JSON

      expected:
      clusterdump with JSON format should succeeded same as CSV and TEXT

      actually:
      clusterdump with JSON format throw NullPointerException

        Attachments

          Activity

            People

            • Assignee:
              smarthi Suneel Marthi
              Reporter:
              rguo Guo Ruijing
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: