You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mahout.apache.org by "Jerry Ye (JIRA)" <ji...@apache.org> on 2010/01/20 20:52:54 UTC

[jira] Created: (MAHOUT-265) org.apache.hadoop.io.serializer.SerializationFactory.getSerializer(SerializationFactory.java:73)

org.apache.hadoop.io.serializer.SerializationFactory.getSerializer(SerializationFactory.java:73)
------------------------------------------------------------------------------------------------

                 Key: MAHOUT-265
                 URL: https://issues.apache.org/jira/browse/MAHOUT-265
             Project: Mahout
          Issue Type: Bug
    Affects Versions: 0.3
         Environment: RHEL 2.6, Mac OS 10.6.2
            Reporter: Jerry Ye


I'm getting the following error when trying to create vectors from a Solr index.  I've also tried using the arff to mvc utility and I'm getting the exact same error.

Exception in thread "main" java.lang.NullPointerException
    at org.apache.hadoop.io.serializer.SerializationFactory.getSerializer(SerializationFactory.java:73)
    at org.apache.hadoop.io.SequenceFile$Writer.init(SequenceFile.java:910)
    at org.apache.hadoop.io.SequenceFile$RecordCompressWriter.<init>(SequenceFile.java:1074)
    at org.apache.hadoop.io.SequenceFile.createWriter(SequenceFile.java:397)
    at org.apache.hadoop.io.SequenceFile.createWriter(SequenceFile.java:284)
    at org.apache.hadoop.io.SequenceFile.createWriter(SequenceFile.java:265)
    at org.apache.mahout.utils.vectors.lucene.Driver.getSeqFileWriter(Driver.java:226)
    at org.apache.mahout.utils.vectors.lucene.Driver.main(Driver.java:197)

I'm getting this error with revision 901336 but not with revision 897299


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (MAHOUT-265) Error with creating MVC from Lucene Index or Arff

Posted by "Jerry Ye (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MAHOUT-265?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jerry Ye updated MAHOUT-265:
----------------------------

    Summary: Error with creating MVC from Lucene Index or Arff  (was: org.apache.hadoop.io.serializer.SerializationFactory.getSerializer(SerializationFactory.java:73))

> Error with creating MVC from Lucene Index or Arff
> -------------------------------------------------
>
>                 Key: MAHOUT-265
>                 URL: https://issues.apache.org/jira/browse/MAHOUT-265
>             Project: Mahout
>          Issue Type: Bug
>    Affects Versions: 0.3
>         Environment: RHEL 2.6, Mac OS 10.6.2
>            Reporter: Jerry Ye
>
> I'm getting the following error when trying to create vectors from a Solr index.  I've also tried using the arff to mvc utility and I'm getting the exact same error.
> Exception in thread "main" java.lang.NullPointerException
>     at org.apache.hadoop.io.serializer.SerializationFactory.getSerializer(SerializationFactory.java:73)
>     at org.apache.hadoop.io.SequenceFile$Writer.init(SequenceFile.java:910)
>     at org.apache.hadoop.io.SequenceFile$RecordCompressWriter.<init>(SequenceFile.java:1074)
>     at org.apache.hadoop.io.SequenceFile.createWriter(SequenceFile.java:397)
>     at org.apache.hadoop.io.SequenceFile.createWriter(SequenceFile.java:284)
>     at org.apache.hadoop.io.SequenceFile.createWriter(SequenceFile.java:265)
>     at org.apache.mahout.utils.vectors.lucene.Driver.getSeqFileWriter(Driver.java:226)
>     at org.apache.mahout.utils.vectors.lucene.Driver.main(Driver.java:197)
> I'm getting this error with revision 901336 but not with revision 897299

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Reopened: (MAHOUT-265) Error with creating MVC from Lucene Index or Arff

Posted by "Jerry Ye (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MAHOUT-265?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jerry Ye reopened MAHOUT-265:
-----------------------------


Hi Jake,
Can you make the same changes to utils/src/main/java/org/apache/mahout/utils/vectors/arff/Driver.java?  The arff driver is having the same problem.  I made the changes and everything seems fine on my end.

- jerry


> Error with creating MVC from Lucene Index or Arff
> -------------------------------------------------
>
>                 Key: MAHOUT-265
>                 URL: https://issues.apache.org/jira/browse/MAHOUT-265
>             Project: Mahout
>          Issue Type: Bug
>    Affects Versions: 0.3
>         Environment: RHEL 2.6, Mac OS 10.6.2
>            Reporter: Jerry Ye
>            Assignee: Jake Mannix
>             Fix For: 0.3
>
>
> I'm getting the following error when trying to create vectors from a Solr index.  I've also tried using the arff to mvc utility and I'm getting the exact same error.
> Exception in thread "main" java.lang.NullPointerException
>     at org.apache.hadoop.io.serializer.SerializationFactory.getSerializer(SerializationFactory.java:73)
>     at org.apache.hadoop.io.SequenceFile$Writer.init(SequenceFile.java:910)
>     at org.apache.hadoop.io.SequenceFile$RecordCompressWriter.<init>(SequenceFile.java:1074)
>     at org.apache.hadoop.io.SequenceFile.createWriter(SequenceFile.java:397)
>     at org.apache.hadoop.io.SequenceFile.createWriter(SequenceFile.java:284)
>     at org.apache.hadoop.io.SequenceFile.createWriter(SequenceFile.java:265)
>     at org.apache.mahout.utils.vectors.lucene.Driver.getSeqFileWriter(Driver.java:226)
>     at org.apache.mahout.utils.vectors.lucene.Driver.main(Driver.java:197)
> I'm getting this error with revision 901336 but not with revision 897299

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (MAHOUT-265) Error with creating MVC from Lucene Index or Arff

Posted by "Jake Mannix (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MAHOUT-265?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jake Mannix resolved MAHOUT-265.
--------------------------------

    Resolution: Fixed

fixed in r903965

> Error with creating MVC from Lucene Index or Arff
> -------------------------------------------------
>
>                 Key: MAHOUT-265
>                 URL: https://issues.apache.org/jira/browse/MAHOUT-265
>             Project: Mahout
>          Issue Type: Bug
>    Affects Versions: 0.3
>         Environment: RHEL 2.6, Mac OS 10.6.2
>            Reporter: Jerry Ye
>            Assignee: Jake Mannix
>             Fix For: 0.3
>
>
> I'm getting the following error when trying to create vectors from a Solr index.  I've also tried using the arff to mvc utility and I'm getting the exact same error.
> Exception in thread "main" java.lang.NullPointerException
>     at org.apache.hadoop.io.serializer.SerializationFactory.getSerializer(SerializationFactory.java:73)
>     at org.apache.hadoop.io.SequenceFile$Writer.init(SequenceFile.java:910)
>     at org.apache.hadoop.io.SequenceFile$RecordCompressWriter.<init>(SequenceFile.java:1074)
>     at org.apache.hadoop.io.SequenceFile.createWriter(SequenceFile.java:397)
>     at org.apache.hadoop.io.SequenceFile.createWriter(SequenceFile.java:284)
>     at org.apache.hadoop.io.SequenceFile.createWriter(SequenceFile.java:265)
>     at org.apache.mahout.utils.vectors.lucene.Driver.getSeqFileWriter(Driver.java:226)
>     at org.apache.mahout.utils.vectors.lucene.Driver.main(Driver.java:197)
> I'm getting this error with revision 901336 but not with revision 897299

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (MAHOUT-265) Error with creating MVC from Lucene Index or Arff

Posted by "Jake Mannix (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAHOUT-265?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12803745#action_12803745 ] 

Jake Mannix commented on MAHOUT-265:
------------------------------------

Do you still get this error, Jerry?

> Error with creating MVC from Lucene Index or Arff
> -------------------------------------------------
>
>                 Key: MAHOUT-265
>                 URL: https://issues.apache.org/jira/browse/MAHOUT-265
>             Project: Mahout
>          Issue Type: Bug
>    Affects Versions: 0.3
>         Environment: RHEL 2.6, Mac OS 10.6.2
>            Reporter: Jerry Ye
>            Assignee: Jake Mannix
>             Fix For: 0.3
>
>
> I'm getting the following error when trying to create vectors from a Solr index.  I've also tried using the arff to mvc utility and I'm getting the exact same error.
> Exception in thread "main" java.lang.NullPointerException
>     at org.apache.hadoop.io.serializer.SerializationFactory.getSerializer(SerializationFactory.java:73)
>     at org.apache.hadoop.io.SequenceFile$Writer.init(SequenceFile.java:910)
>     at org.apache.hadoop.io.SequenceFile$RecordCompressWriter.<init>(SequenceFile.java:1074)
>     at org.apache.hadoop.io.SequenceFile.createWriter(SequenceFile.java:397)
>     at org.apache.hadoop.io.SequenceFile.createWriter(SequenceFile.java:284)
>     at org.apache.hadoop.io.SequenceFile.createWriter(SequenceFile.java:265)
>     at org.apache.mahout.utils.vectors.lucene.Driver.getSeqFileWriter(Driver.java:226)
>     at org.apache.mahout.utils.vectors.lucene.Driver.main(Driver.java:197)
> I'm getting this error with revision 901336 but not with revision 897299

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Work started: (MAHOUT-265) Error with creating MVC from Lucene Index or Arff

Posted by "Jake Mannix (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MAHOUT-265?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Work on MAHOUT-265 started by Jake Mannix.

> Error with creating MVC from Lucene Index or Arff
> -------------------------------------------------
>
>                 Key: MAHOUT-265
>                 URL: https://issues.apache.org/jira/browse/MAHOUT-265
>             Project: Mahout
>          Issue Type: Bug
>    Affects Versions: 0.3
>         Environment: RHEL 2.6, Mac OS 10.6.2
>            Reporter: Jerry Ye
>            Assignee: Jake Mannix
>             Fix For: 0.3
>
>
> I'm getting the following error when trying to create vectors from a Solr index.  I've also tried using the arff to mvc utility and I'm getting the exact same error.
> Exception in thread "main" java.lang.NullPointerException
>     at org.apache.hadoop.io.serializer.SerializationFactory.getSerializer(SerializationFactory.java:73)
>     at org.apache.hadoop.io.SequenceFile$Writer.init(SequenceFile.java:910)
>     at org.apache.hadoop.io.SequenceFile$RecordCompressWriter.<init>(SequenceFile.java:1074)
>     at org.apache.hadoop.io.SequenceFile.createWriter(SequenceFile.java:397)
>     at org.apache.hadoop.io.SequenceFile.createWriter(SequenceFile.java:284)
>     at org.apache.hadoop.io.SequenceFile.createWriter(SequenceFile.java:265)
>     at org.apache.mahout.utils.vectors.lucene.Driver.getSeqFileWriter(Driver.java:226)
>     at org.apache.mahout.utils.vectors.lucene.Driver.main(Driver.java:197)
> I'm getting this error with revision 901336 but not with revision 897299

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (MAHOUT-265) Error with creating MVC from Lucene Index or Arff

Posted by "Jerry Ye (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAHOUT-265?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12803847#action_12803847 ] 

Jerry Ye commented on MAHOUT-265:
---------------------------------

Hey Jake,
That fixed it.  Thanks! :-)

 - jerry





> Error with creating MVC from Lucene Index or Arff
> -------------------------------------------------
>
>                 Key: MAHOUT-265
>                 URL: https://issues.apache.org/jira/browse/MAHOUT-265
>             Project: Mahout
>          Issue Type: Bug
>    Affects Versions: 0.3
>         Environment: RHEL 2.6, Mac OS 10.6.2
>            Reporter: Jerry Ye
>            Assignee: Jake Mannix
>             Fix For: 0.3
>
>
> I'm getting the following error when trying to create vectors from a Solr index.  I've also tried using the arff to mvc utility and I'm getting the exact same error.
> Exception in thread "main" java.lang.NullPointerException
>     at org.apache.hadoop.io.serializer.SerializationFactory.getSerializer(SerializationFactory.java:73)
>     at org.apache.hadoop.io.SequenceFile$Writer.init(SequenceFile.java:910)
>     at org.apache.hadoop.io.SequenceFile$RecordCompressWriter.<init>(SequenceFile.java:1074)
>     at org.apache.hadoop.io.SequenceFile.createWriter(SequenceFile.java:397)
>     at org.apache.hadoop.io.SequenceFile.createWriter(SequenceFile.java:284)
>     at org.apache.hadoop.io.SequenceFile.createWriter(SequenceFile.java:265)
>     at org.apache.mahout.utils.vectors.lucene.Driver.getSeqFileWriter(Driver.java:226)
>     at org.apache.mahout.utils.vectors.lucene.Driver.main(Driver.java:197)
> I'm getting this error with revision 901336 but not with revision 897299

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (MAHOUT-265) Error with creating MVC from Lucene Index or Arff

Posted by "Sean Owen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MAHOUT-265?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sean Owen resolved MAHOUT-265.
------------------------------

    Resolution: Fixed

> Error with creating MVC from Lucene Index or Arff
> -------------------------------------------------
>
>                 Key: MAHOUT-265
>                 URL: https://issues.apache.org/jira/browse/MAHOUT-265
>             Project: Mahout
>          Issue Type: Bug
>    Affects Versions: 0.3
>         Environment: RHEL 2.6, Mac OS 10.6.2
>            Reporter: Jerry Ye
>            Assignee: Jake Mannix
>             Fix For: 0.3
>
>
> I'm getting the following error when trying to create vectors from a Solr index.  I've also tried using the arff to mvc utility and I'm getting the exact same error.
> Exception in thread "main" java.lang.NullPointerException
>     at org.apache.hadoop.io.serializer.SerializationFactory.getSerializer(SerializationFactory.java:73)
>     at org.apache.hadoop.io.SequenceFile$Writer.init(SequenceFile.java:910)
>     at org.apache.hadoop.io.SequenceFile$RecordCompressWriter.<init>(SequenceFile.java:1074)
>     at org.apache.hadoop.io.SequenceFile.createWriter(SequenceFile.java:397)
>     at org.apache.hadoop.io.SequenceFile.createWriter(SequenceFile.java:284)
>     at org.apache.hadoop.io.SequenceFile.createWriter(SequenceFile.java:265)
>     at org.apache.mahout.utils.vectors.lucene.Driver.getSeqFileWriter(Driver.java:226)
>     at org.apache.mahout.utils.vectors.lucene.Driver.main(Driver.java:197)
> I'm getting this error with revision 901336 but not with revision 897299

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (MAHOUT-265) Error with creating MVC from Lucene Index or Arff

Posted by "Sean Owen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MAHOUT-265?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sean Owen updated MAHOUT-265:
-----------------------------

    Fix Version/s: 0.3
         Assignee: Jake Mannix

The problem is basically there is no seiralizer available for RandomAccessSparseVector.

And indeed Jake you pulled these apart right, so Hadoop serialization bindings are separate now? what's the way to serialize these guys now?

> Error with creating MVC from Lucene Index or Arff
> -------------------------------------------------
>
>                 Key: MAHOUT-265
>                 URL: https://issues.apache.org/jira/browse/MAHOUT-265
>             Project: Mahout
>          Issue Type: Bug
>    Affects Versions: 0.3
>         Environment: RHEL 2.6, Mac OS 10.6.2
>            Reporter: Jerry Ye
>            Assignee: Jake Mannix
>             Fix For: 0.3
>
>
> I'm getting the following error when trying to create vectors from a Solr index.  I've also tried using the arff to mvc utility and I'm getting the exact same error.
> Exception in thread "main" java.lang.NullPointerException
>     at org.apache.hadoop.io.serializer.SerializationFactory.getSerializer(SerializationFactory.java:73)
>     at org.apache.hadoop.io.SequenceFile$Writer.init(SequenceFile.java:910)
>     at org.apache.hadoop.io.SequenceFile$RecordCompressWriter.<init>(SequenceFile.java:1074)
>     at org.apache.hadoop.io.SequenceFile.createWriter(SequenceFile.java:397)
>     at org.apache.hadoop.io.SequenceFile.createWriter(SequenceFile.java:284)
>     at org.apache.hadoop.io.SequenceFile.createWriter(SequenceFile.java:265)
>     at org.apache.mahout.utils.vectors.lucene.Driver.getSeqFileWriter(Driver.java:226)
>     at org.apache.mahout.utils.vectors.lucene.Driver.main(Driver.java:197)
> I'm getting this error with revision 901336 but not with revision 897299

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.