Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Exception happen when using Flink DataStream API to write data into arctic table #2271

Closed
2 tasks done
Tracked by #2448
GavinH1984 opened this issue Nov 9, 2023 · 0 comments · Fixed by #2274
Closed
2 tasks done
Tracked by #2448
Labels
type:bug Something isn't working

Comments

@GavinH1984
Copy link
Contributor

GavinH1984 commented Nov 9, 2023

What happened?

Exception happen when using flink datastrem api to write data into arctic table.

Affects Versions

0.6.0

What engines are you seeing the problem on?

Flink

How to reproduce

  • Flink version: Flink 1.16
  • Reference jar: arctic-flink-runtime-1.16.jar
  • Using the arctic datastream api to writing data into arctic table.

Relevant log output

Exception detail:

java.lang.VerifyError: Stack map does not match the one at exception handler 72
Exception Details:
  Location:
    com/netease/arctic/shaded/org/apache/iceberg/hive/HiveCatalog.loadNamespaceMetadata(Lcom/netease/arctic/shaded/org/apache/iceberg/catalog/Namespace;)Ljava/util/Map; @72: astore_2
  Reason:
    Type 'org/apache/hadoop/hive/metastore/api/NoSuchObjectException' (current frame, stack[0]) is not assignable to 'com/netease/arctic/shaded/org/apache/thrift/TException' (stack map, stack[0])
  Current Frame:
    bci: @27
    flags: { }
    locals: { 'com/netease/arctic/shaded/org/apache/iceberg/hive/HiveCatalog', 'com/netease/arctic/shaded/org/apache/iceberg/catalog/Namespace' }
    stack: { 'org/apache/hadoop/hive/metastore/api/NoSuchObjectException' }
  Stackmap Frame:
    bci: @72
    flags: { }
    locals: { 'com/netease/arctic/shaded/org/apache/iceberg/hive/HiveCatalog', 'com/netease/arctic/shaded/org/apache/iceberg/catalog/Namespace' }
    stack: { 'com/netease/arctic/shaded/org/apache/thrift/TException' }
  Bytecode:
    0x0000000: 2a2b b700 b99a 0016 bb01 2559 1301 2704
    0x0000010: bd01 2959 032b 53b7 012c bf2a b400 a92b
    0x0000020: ba02 a700 00b9 00dd 0200 c002 a94d 2a2c
    0x0000030: b702 ad4e b200 5813 02af 2b2d b902 7101
    0x0000040: 00b9 0123 0400 2db0 4dbb 0125 592c 1301
    0x0000050: 2704 bd01 2959 032b 53b7 029a bf4d bb01
    0x0000060: 2e59 bb01 3059 b701 3113 029c b601 372b
    0x0000070: b601 3a13 0213 b601 37b6 013e 2cb7 0141
    0x0000080: bf4d b801 47b6 014a bb01 2e59 bb01 3059
    0x0000090: b701 3113 029e b601 372b b601 3a13 0213
    0x00000a0: b601 37b6 013e 2cb7 0141 bf            
  Exception Handler Table:
    bci [27, 71] => handler: 72
    bci [27, 71] => handler: 72
    bci [27, 71] => handler: 93
    bci [27, 71] => handler: 129
  Stackmap Table:
    same_frame(@27)
    same_locals_1_stack_item_frame(@72,Object[#179])
    same_locals_1_stack_item_frame(@93,Object[#179])
    same_locals_1_stack_item_frame(@129,Object[#181])

Anything else

N/A

Are you willing to submit a PR?

  • Yes I am willing to submit a PR!

Code of Conduct

  • I agree to follow this project's Code of Conduct
@GavinH1984 GavinH1984 added the type:bug Something isn't working label Nov 9, 2023
GavinH1984 added a commit to GavinH1984/arctic that referenced this issue Nov 9, 2023
baiyangtx pushed a commit that referenced this issue Nov 13, 2023
…time. (#2274)

Fix bug #2271 - Exception happen when using Flink DataStream API to write data into arctic table
@zhoujinsong zhoujinsong mentioned this issue Dec 19, 2023
33 tasks
ShawHee pushed a commit to ShawHee/arctic that referenced this issue Dec 29, 2023
…time. (apache#2274)

Fix bug apache#2271 - Exception happen when using Flink DataStream API to write data into arctic table
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant