thinker0 commented on pull request #3574:
URL: https://github.com/apache/incubator-heron/pull/3574#issuecomment-661002357
@Code0x58
```
TypeError: 'float' object cannot be interpreted as an integer
```
```
[2020-07-20 21:33:24 +0900] [INFO]: Setting topology info for topology:
heron-lass_win_loss_notice_log-to-ladp-log-es
[2020-07-20 21:33:24 +0900] [ERROR]: ==Oops state dump=============
[2020-07-20 21:33:24 +0900] [ERROR]: References:
[[java.util.HashMap:0x507DAC1], <javaobj:java.util.HashMap>,
'NJ_INSTANCE_PHASE', 'BETA', 'LD_LIBRARY_PATH',
'${LD_LIBRARY_PATH}:./lib64:/usr/lib/hadoop/lib/native', 'SENTRY_DSN',
'https://[email protected]/3?sample.rate=0.10',
'SERVER_ENV', 'beta', 'NJ_INSTANCE_ID',
'heron-lass_win_loss_notice_log-to-ladp-log-es', 'SENTRY_ENVIRONMENT']
[2020-07-20 21:33:24 +0900] [ERROR]: Stream seeking back at -16 byte (2nd
line is an actual position!):
[2020-07-20 21:33:24 +0900] [ERROR]: Failed to parse data as java object
Traceback (most recent call last):
File
"/Users/thinker0/.pex/code/20c8103cc4fd30b436b4787554e90a405988f63f/heron/tools/tracker/src/python/javaobj.py",
line 221, in readObject
_, res = self._read_and_exec_opcode(ident=0)
File
"/Users/thinker0/.pex/code/20c8103cc4fd30b436b4787554e90a405988f63f/heron/tools/tracker/src/python/javaobj.py",
line 256, in _read_and_exec_opcode
return (opid, handler(ident=ident))
File
"/Users/thinker0/.pex/code/20c8103cc4fd30b436b4787554e90a405988f63f/heron/tools/tracker/src/python/javaobj.py",
line 428, in do_object
tmp_object = transformer.transform(java_object)
File
"/Users/thinker0/.pex/code/20c8103cc4fd30b436b4787554e90a405988f63f/heron/tools/tracker/src/python/javaobj.py",
line 625, in transform
for i in range((len(obj.annotations)-1)/2):
TypeError: 'float' object cannot be interpreted as an integer
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File
"/Users/thinker0/.pex/code/20c8103cc4fd30b436b4787554e90a405988f63f/heron/tools/tracker/src/python/tracker.py",
line 62, in _convert_java_value
pobj = javaobj.loads(kv.serialized_value)
File
"/Users/thinker0/.pex/code/20c8103cc4fd30b436b4787554e90a405988f63f/heron/tools/tracker/src/python/javaobj.py",
line 65, in loads
return marshaller.readObject()
File
"/Users/thinker0/.pex/code/20c8103cc4fd30b436b4787554e90a405988f63f/heron/tools/tracker/src/python/javaobj.py",
line 235, in readObject
self._oops_dump_state()
File
"/Users/thinker0/.pex/code/20c8103cc4fd30b436b4787554e90a405988f63f/heron/tools/tracker/src/python/javaobj.py",
line 545, in _oops_dump_state
self.object_stream.seek(-16, mode=1)
TypeError: seek() takes no keyword arguments
[2020-07-20 21:33:24 +0900] [ERROR]: Caught exception while triggering
callback: 'in <string>' requires string as left operand, not int
[2020-07-20 21:33:24 +0900] [INFO]: Unregister a watch with uid:
0ce59fcd-9c28-473e-94d7-f09aebc29085
[2020-07-20 21:33:24 +0900] [INFO]: Adding data watch for path:
/heron/tmasters/heron-lass_win_loss_notice_log-to-ladp-log-es
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]