You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are facing an issue with the class below in a hadoop job. we are wondering if there are any limitations in using this class for calculating the similarity. Please advise.
Class: com.wcohen.ss.Levenstein
Method invocation:
Levenstein().score(str1, str2)
Error:
ERROR [main] org.apache.hadoop.mapred.YarnChild: Error running child : java.lang.StackOverflowError
at com.wcohen.ss.MemoMatrix.get(MemoMatrix.java:40)
at com.wcohen.ss.NeedlemanWunsch$MyMatrix.compute(NeedlemanWunsch.java:41)
at com.wcohen.ss.MemoMatrix.get(MemoMatrix.java:40)
at com.wcohen.ss.NeedlemanWunsch$MyMatrix.compute(NeedlemanWunsch.java:41)
at com.wcohen.ss.MemoMatrix.get(MemoMatrix.java:40)
at com.wcohen.ss.NeedlemanWunsch$MyMatrix.compute(NeedlemanWunsch.java:41)
at com.wcohen.ss.MemoMatrix.get(MemoMatrix.java:40)
at com.wcohen.ss.NeedlemanWunsch$MyMatrix.compute(NeedlemanWunsch.java:41)
at com.wcohen.ss.MemoMatrix.get(MemoMatrix.java:40)
at com.wcohen.ss.NeedlemanWunsch$MyMatrix.compute(NeedlemanWunsch.java:41)
at com.wcohen.ss.MemoMatrix.get(MemoMatrix.java:40)
at com.wcohen.ss.NeedlemanWunsch$MyMatrix.compute(NeedlemanWunsch.java:41)
at com.wcohen.ss.MemoMatrix.get(MemoMatrix.java:40)
at com.wcohen.ss.NeedlemanWunsch$MyMatrix.compute(NeedlemanWunsch.java:41)
at com.wcohen.ss.MemoMatrix.get(MemoMatrix.java:40)
at com.wcohen.ss.NeedlemanWunsch$MyMatrix.compute(NeedlemanWunsch.java:41)
at com.wcohen.ss.MemoMatrix.get(MemoMatrix.java:40)
at com.wcohen.ss.NeedlemanWunsch$MyMatrix.compute(NeedlemanWunsch.java:41)
at com.wcohen.ss.MemoMatrix.get(MemoMatrix.java:40)
at com.wcohen.ss.NeedlemanWunsch$MyMatrix.compute(NeedlemanWunsch.java:41)
at com.wcohen.ss.MemoMatrix.get(MemoMatrix.java:40)
at com.wcohen.ss.NeedlemanWunsch$MyMatrix.compute(NeedlemanWunsch.java:41)
at com.wcohen.ss.MemoMatrix.get(MemoMatrix.java:40)
at com.wcohen.ss.NeedlemanWunsch$MyMatrix.compute(NeedlemanWunsch.java:41)
The text was updated successfully, but these errors were encountered:
We are facing an issue with the class below in a hadoop job. we are wondering if there are any limitations in using this class for calculating the similarity. Please advise.
Class: com.wcohen.ss.Levenstein
Method invocation:
Levenstein().score(str1, str2)
Error:
ERROR [main] org.apache.hadoop.mapred.YarnChild: Error running child : java.lang.StackOverflowError
at com.wcohen.ss.MemoMatrix.get(MemoMatrix.java:40)
at com.wcohen.ss.NeedlemanWunsch$MyMatrix.compute(NeedlemanWunsch.java:41)
at com.wcohen.ss.MemoMatrix.get(MemoMatrix.java:40)
at com.wcohen.ss.NeedlemanWunsch$MyMatrix.compute(NeedlemanWunsch.java:41)
at com.wcohen.ss.MemoMatrix.get(MemoMatrix.java:40)
at com.wcohen.ss.NeedlemanWunsch$MyMatrix.compute(NeedlemanWunsch.java:41)
at com.wcohen.ss.MemoMatrix.get(MemoMatrix.java:40)
at com.wcohen.ss.NeedlemanWunsch$MyMatrix.compute(NeedlemanWunsch.java:41)
at com.wcohen.ss.MemoMatrix.get(MemoMatrix.java:40)
at com.wcohen.ss.NeedlemanWunsch$MyMatrix.compute(NeedlemanWunsch.java:41)
at com.wcohen.ss.MemoMatrix.get(MemoMatrix.java:40)
at com.wcohen.ss.NeedlemanWunsch$MyMatrix.compute(NeedlemanWunsch.java:41)
at com.wcohen.ss.MemoMatrix.get(MemoMatrix.java:40)
at com.wcohen.ss.NeedlemanWunsch$MyMatrix.compute(NeedlemanWunsch.java:41)
at com.wcohen.ss.MemoMatrix.get(MemoMatrix.java:40)
at com.wcohen.ss.NeedlemanWunsch$MyMatrix.compute(NeedlemanWunsch.java:41)
at com.wcohen.ss.MemoMatrix.get(MemoMatrix.java:40)
at com.wcohen.ss.NeedlemanWunsch$MyMatrix.compute(NeedlemanWunsch.java:41)
at com.wcohen.ss.MemoMatrix.get(MemoMatrix.java:40)
at com.wcohen.ss.NeedlemanWunsch$MyMatrix.compute(NeedlemanWunsch.java:41)
at com.wcohen.ss.MemoMatrix.get(MemoMatrix.java:40)
at com.wcohen.ss.NeedlemanWunsch$MyMatrix.compute(NeedlemanWunsch.java:41)
at com.wcohen.ss.MemoMatrix.get(MemoMatrix.java:40)
at com.wcohen.ss.NeedlemanWunsch$MyMatrix.compute(NeedlemanWunsch.java:41)
The text was updated successfully, but these errors were encountered: