Cloudgraph service throws Number format exception under high load conditions

StackOverflow https://stackoverflow.com/questions/23595099

  •  20-07-2023
  •  | 
  •  

문제

Cloudgraph service throws Number format exception under high load conditions.

We randomly see the following exception under high load.

    Caused by: java.lang.NumberFormatException: For input string: ""
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
at java.lang.Long.parseLong(Long.java:431)
at java.lang.Long.parseLong(Long.java:468)
at java.text.DigitList.getLong(DigitList.java:177)
at java.text.DecimalFormat.parse(DecimalFormat.java:1297)
at java.text.SimpleDateFormat.subParse(SimpleDateFormat.java:1589)
at java.text.SimpleDateFormat.parse(SimpleDateFormat.java:1311)
at java.text.DateFormat.parse(DateFormat.java:335)
at org.plasma.sdo.helper.DataConverter.fromString(DataConverter.java:1768)
도움이 되었습니까?

해결책

this was fixed in plasma 1.2.0 and is up on Maven Central. See Plasma Release 1.2.0 for details. I assume you are using cloudgraph.hbase or cloudgraph.rdb. If so you can just upgrade to CloudGraph 0.6.0 beta which depends on plasma 1.2.0. Note that some mapreduce classes under cloudgraph.hbase were promoted (moved up) in case you are using these. So then your pom.xml looks something like:

<dependency>
    <groupId>org.cloudgraph</groupId>
    <artifactId>cloudgraph-hbase</artifactId>
    <version>0.6.0</version>
</dependency>

--regards;

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top