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

Streaming KMeans NPE

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 0.8
    • Fix Version/s: 0.10.0
    • Component/s: Clustering
    • Labels:
      None

      Description

      I am assuming that this occurs because of --reduceStreamingKMeans (-rskm) option set. Will try and test it without reduce and report if the NPE goes away.

      Error: java.lang.NullPointerException
      at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:187)
      at org.apache.mahout.math.random.WeightedThing.<init>(WeightedThing.java:31)
      at org.apache.mahout.math.neighborhood.BruteSearch.searchFirst(BruteSearch.java:127)
      at org.apache.mahout.clustering.ClusteringUtils.estimateDistanceCutoff(ClusteringUtils.java:116)
      at org.apache.mahout.clustering.streaming.mapreduce.StreamingKMeansThread.call(StreamingKMeansThread.java:63)
      at org.apache.mahout.clustering.streaming.mapreduce.StreamingKMeansReducer.reduce(StreamingKMeansReducer.java:55)
      at org.apache.mahout.clustering.streaming.mapreduce.StreamingKMeansReducer.reduce(StreamingKMeansReducer.java:35)
      at org.apache.hadoop.mapreduce.Reducer.run(Reducer.java:171)
      at org.apache.hadoop.mapred.ReduceTask.runNewReducer(ReduceTask.java:627)
      at org.apache.hadoop.mapred.ReduceTask.run(ReduceTask.java:389)
      at org.apache.hadoop.mapred.YarnChild$2.run(YarnChild.java:165)
      at java.security.AccessController.doPrivileged(Native Method)
      at javax.security.auth.Subject.doAs(Subject.java:415)
      at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1548)
      at org.apache.hadoop.mapred.YarnChild.main(YarnChild.java:160)

        Attachments

        Issue Links

          Activity

            People

            • Assignee:
              smarthi Suneel Marthi
              Reporter:
              reinis_v Reinis Vicups

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment