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