bhavik patel created ZEPPELIN-4272:
--------------------------------------

             Summary: Zeppelin fails to use s3a configured for 
zeppelin.notebook.dir
                 Key: ZEPPELIN-4272
                 URL: https://issues.apache.org/jira/browse/ZEPPELIN-4272
             Project: Zeppelin
          Issue Type: Bug
            Reporter: bhavik patel


Zeppelin fails to use s3a configured for zeppelin.notebook.dir.
Below exception is shown in logs.
Caused by: java.lang.VerifyError: Bad type on operand stack
Exception Details:
  Location:
    
org/apache/hadoop/fs/s3a/S3AFileSystem.s3GetFileStatus(Lorg/apache/hadoop/fs/Path;Ljava/lang/String;Ljava/util/Set;)Lorg/apache/hadoop/fs/s3a/S3AFileStatus;
 @296: invokestatic
  Reason:
    Type 'com/amazonaws/AmazonServiceException' (current frame, stack[2]) is 
not assignable to 'com/amazonaws/SdkBaseException'  Current Frame:
    bci: @296
    flags: \{ }
    locals: { 'org/apache/hadoop/fs/s3a/S3AFileSystem', 
'org/apache/hadoop/fs/Path', 'java/lang/String', 'java/util/Set', 
'java/lang/String', 'com/amazonaws/AmazonServiceException' }
    stack: { 'java/lang/String', 'java/lang/String', 
'com/amazonaws/AmazonServiceException' }
  Bytecode:
    0x0000000: 2cb6 00ed 9a01 382a 2cb6 028e 3a04 2c19
    0x0000010: 04b6 020e b801 9e99 001e b200 1c13 028f
    0x0000020: b900 2302 00bb 012c 59b2 0178 2b2a b400
    0x0000030: 35b7 0290 b0b2 001c 1302 91b9 0023 0200
    0x0000040: bb01 2c59 1904 b602 0e19 04b6 0292 b802
    0x0000050: 932b 2a2b b601 892a b400 3519 04b6 0294
    0x0000060: 1904 b602 95b7 0296 b03a 0419 04b6 0298
    0x0000070: 1101 949f 000d 1302 992b 1904 b800 9fbf
    0x0000080: a700 0f3a 0413 0299 2b19 04b8 009f bf2c
    0x0000090: 1301 1fb6 0120 9a00 a6bb 00bf 59b7 00c0
    0x00000a0: 2cb6 00c2 1301 1fb6 00c2 b600 c43a 042a
    0x00000b0: 1904 b602 8e3a 0519 0419 05b6 020e b801
    0x00000c0: 9e99 001e b200 1c13 029a b900 2302 00bb
    0x00000d0: 012c 59b2 0178 2b2a b400 35b7 0290 b0b2
    0x00000e0: 001c 1302 9b2c b900 6303 00bb 012c 5919
    0x00000f0: 05b6 020e 1905 b602 92b8 0293 2b2a 2bb6
    0x0000100: 0189 2ab4 0035 1905 b602 9419 05b6 0295
    0x0000110: b702 96b0 3a05 1905 b602 9811 0194 9f00
    0x0000120: 0e13 0299 1904 1905 b802 9cbf a700 103a
    0x0000130: 0513 0299 1904 1905 b802 9cbf 2a2c b701
    0x0000140: 844d 2a2c 1301 1f04 b800 62b7 0263 3a04
    0x0000150: 2a19 04b6 023a 3a05 1905 b602 9d3a 0619
    0x0000160: 05b6 023b 3a07 2a19 062d b702 9e99 000d
    0x0000170: 2a19 072d b702 9f9a 00a6 b200 1cb9 02a0
    0x0000180: 0100 9900 8bb2 001c 1302 a119 06b9 02a2
    0x0000190: 0100 b800 6219 07b9 02a2 0100 b800 62b9
    0x00001a0: 0094 0400 1907 b902 a301 003a 0819 08b9
    0x00001b0: 01ea 0100 9900 2a19 08b9 01eb 0100 c002
    0x00001c0: 3d3a 09b2 001c 1302 a419 09b6 023e 1909
    0x00001d0: b602 a5b8 008a b900 9404 00a7 ffd2 1906
    0x00001e0: b902 a301 003a 0819 08b9 01ea 0100 9900
    0x00001f0: 1f19 08b9 01eb 0100 c001 0d3a 09b2 001c
    0x0000200: 1302 a619 09b9 001e 0300 a7ff ddbb 012c
    0x0000210: 59b2 0233 2b2a b400 35b7 0290 b02c b600
    0x0000220: ed99 001e b200 1c13 02a7 b900 2302 00bb
    0x0000230: 012c 59b2 0178 2b2a b400 35b7 0290 b0a7
    0x0000240: 0029 3a04 1904 b602 9811 0194 9f00 0d13
    0x0000250: 0299 2b19 04b8 009f bfa7 000f 3a04 1302
    0x0000260: 992b 1904 b800 9fbf b200 1c13 02a8 2bb9
    0x0000270: 001e 0300 bb00 be59 bb00 bf59 b700 c013
    0x0000280: 02a9 b600 c22b b601 2fb6 00c4 b700 c5bf
    0x0000290:
  Exception Handler Table:
    bci [7, 52] => handler: 105
    bci [53, 104] => handler: 105
    bci [7, 52] => handler: 131
    bci [175, 222] => handler: 303                                              
                                                                                
                                                                     [126/348]
    bci [223, 275] => handler: 303
    bci [316, 540] => handler: 578
    bci [541, 574] => handler: 578
    bci [316, 540] => handler: 604
    bci [541, 574] => handler: 604
  Stackmap Table:
    append_frame(@53,Object[#1463])
    
full_frame(@105,{Object[#1161],Object[#1313],Object[#1164],Object[#1569]},{Object[#1579]})
    same_frame(@128)
    same_locals_1_stack_item_frame(@131,Object[#1166])
    same_frame(@143)
    append_frame(@223,Object[#1164],Object[#1463])
    
full_frame(@276,{Object[#1161],Object[#1313],Object[#1164],Object[#1569],Object[#1164]},{Object[#1579]})
    same_frame(@300)
    same_locals_1_stack_item_frame(@303,Object[#1166])
    chop_frame(@316,1)
    
full_frame(@378,{Object[#1161],Object[#1313],Object[#1164],Object[#1569],Object[#1506],Object[#1507],Object[#1369],Object[#1369]},{})
    append_frame(@429,Object[#1448])
    chop_frame(@478,1)
    append_frame(@487,Object[#1448])
    chop_frame(@525,1)
    same_frame(@541)
    
full_frame(@575,{Object[#1161],Object[#1313],Object[#1164],Object[#1569]},{})
    same_locals_1_stack_item_frame(@578,Object[#1579])
    same_frame(@601)
    same_locals_1_stack_item_frame(@604,Object[#1166])
    same_frame(@616)

        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:348)
        at 
org.apache.hadoop.conf.Configuration.getClassByNameOrNull(Configuration.java:2574)
        at 
org.apache.hadoop.conf.Configuration.getClassByName(Configuration.java:2539)
        at 
org.apache.hadoop.conf.Configuration.getClass(Configuration.java:2635)
        at 
org.apache.hadoop.fs.FileSystem.getFileSystemClass(FileSystem.java:3281)
        at 
org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:3313)
        at org.apache.hadoop.fs.FileSystem.access$200(FileSystem.java:136)
        at 
org.apache.hadoop.fs.FileSystem$Cache.getInternal(FileSystem.java:3364)
        at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:3332)
        at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:491)
        at 
org.apache.zeppelin.notebook.FileSystemStorage.<init>(FileSystemStorage.java:74)
        at 
org.apache.zeppelin.notebook.repo.FileSystemNotebookRepo.<init>(FileSystemNotebookRepo.java:45)
        ... 49 more



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

Reply via email to