特牛生活网

java.lang.ArrayIndexOutOfBoundsException: 1 --------大数据流量分析---出现数组越界异常_java.lang.arrayindexoutofboundsexception: 1 at eod-CSDN博客

网友收藏
  • 链接地址:https://blog.csdn.net/Soul_7S/article/details/116212260
  • 链接标题:java.lang.ArrayIndexOutOfBoundsException: 1 --------大数据流量分析---出现数组越界异常_java.lang.arrayindexoutofboundsexception: 1 at eod-CSDN博客
  • 所属网站:blog.csdn.net
  • 被收藏次数:7311
文章浏览阅读1.1k次。**其实很简单,在map代码中判断一下就行了**@Override protected void map(LongWritable key, Text value, Context context) throws IOException, InterruptedException { String line = value.toString(); String[] words = StringUtils.split(line, "\t"); try_java.lang.arrayindexoutofboundsexception: 1 at eodinfo.crawler.news.grssiee