SupDataKing

Results comments of SupDataKing

I had a same problem, expect to solve.

It can used on single machine,but not on distributed ! example, if execute "../../tools/launch.py -n 2 -H hosts python train_mnist.py --data-dir hdfs://hadoop01:8020/mnist/" it will be return error like this==> "CalledProcessError:...

thanks,I solved it! Is there any completed example on distributed yarn! I completed just on ssh!!

Hello! I could use ssh to read hdfs,but not yarn ! Anyone who can read hdfs with yarn!

读取hdfs词库文件出现java heap size溢出; 配置文件: #IOAdapter=com.hankcs.hanlp.corpus.io.FileIOAdapter IOAdapter=com.fb.etl.main.HdfsIoAdapter HdfsIoAdapter类根据@AnyListen提供的类; 直接本地调用(从hdfs读取词库): List sentenceList = HanLP.segment(text) 就出现问题 跟踪查看了,因为com.hankcs.hanlp.dictionary.CoreDictionary.Attribute 加载 CoreNatureDictionary.txt.bin文件时,Attribute属性数组size有 1008813135然后报了内存溢出了!! 单机本地的size只有153115 不知道什么原因造成的,期待大牛们帮忙解决...或是有其它的途进读取hdfs上的词典,方便告知...

感谢 @hankcs , 参考hanlp-ext调试可以了!