Yarn平台下出现java.lang.ArithmeticException:/ by zero 该异常的调试经验
来源:互联网 发布:maya软件下载中文版 编辑:程序博客网 时间:2024/05/31 13:15
最近在公司的Yarn平台下跑多个Mapreduce application的时候,出现了下面的异常:
java.lang.ArithmeticException:/ by zero atorg.apache.hadoop.fs.LocalDirAllocator$AllocatorPerContext.getLocalPathForWrite(LocalDirAllocator.java:368)at org.apache.hadoop.fs.LocalDirAllocator.getLocalPathForWrite(LocalDirAllocator.java:150)atorg.apache.hadoop.fs.LocalDirAllocator.getLocalPathForWrite(LocalDirAllocator.java:131)at org.apache.hadoop.fs.LocalDirAllocator.getLocalPathForWrite(LocalDirAllocator.java:115)atorg.apache.hadoop.yarn.server.nodemanager.LocalDirsHandlerService.getLocalPathForWrite(LocalDirsHandlerService.java:263)atorg.apache.hadoop.yarn.server.nodemanager.containermanager.localizer.ResourceLocalizationService$LocalizerRunner.run(ResourceLocalizationService.java:849)
原因分析:
该错误是由于无法创建本地文件而产生的,经过检查,一台nodemanager节点上磁盘空间不足导致无法创建本地文件,在applcation监控页面下查找所有出现该异常的application以及相关的task,发现都是出现在该台服务器上,最后进行磁盘空间的整理,使得application 的maptask 和reducetask 的运行恢复正常
- Yarn平台下出现java.lang.ArithmeticException:/ by zero 该异常的调试经验
- java.lang.ArithmeticException: / by zero
- 分页标签遭遇 "java.lang.ArithmeticException: / by zero"
- Exception in thread "main" java.lang.ArithmeticException: / by zero
- Long Msg: java.lang.ArithmeticException: divide by zero
- 报错:java.lang.ArithmeticException:divide by zero
- BigDecimal不整除的一个异常java.lang.ArithmeticException
- BigDecimal不整除的一个异常java.lang.ArithmeticException
- Android-异常-java.lang.ArithmeticException: Rounding necessary
- BigDecimal 除法运算出现 java.lang.ArithmeticException
- java.lang.ArithmeticException翻译
- java.lang.ArithmeticException
- java.lang.ArithmeticException
- java.lang.ArithmeticException
- BigDecimal不整除的一个异常java.lang.ArithmeticException: Non-terminating decimal expansion
- java.lang.ArithmeticException: Division undefined
- java.lang.ArithmeticException: Rounding necessary
- BigDecimal除法运算出现java.lang.ArithmeticException: Non-terminating decimal expansion; no exact representable decimal result的解决办法
- linux 模块编译步骤
- 数据库查询优化
- iOS中同步请求 异步请求 get请求 post请求
- IOS延迟实例化
- eclipse优化
- Yarn平台下出现java.lang.ArithmeticException:/ by zero 该异常的调试经验
- Android 导入Android项目出现报错
- PHP中如何将字符串转化为整数 (int) intval() printf() 性能测试
- JSP翻页代码
- Spring-Jsf2.0-Mybatis整合(可运行工程)
- tags的建立和使用
- SSH登陆错误
- My97DatePicker
- 菜鸟的学习之路(10) — LinkedList类