Phoenix 5.0 hbase 2.0 org.apache.hadoop.security.authentication.util.KerberosUtil.hasKerberosKeyTab



    
        hadoop
        org.lzw.example
        1.0-SNAPSHOT
    
    4.0.0
    phoenix

    
        
        
            org.apache.phoenix
            phoenix-core
            5.0.0-HBase-2.0
        
    

异常

java.lang.NoSuchMethodError: org.apache.hadoop.security.authentication.util.KerberosUtil.hasKerberosKeyTab(Ljavax/security/auth/Subject;)Z

加上依赖解决



    
        hadoop
        org.lzw.example
        1.0-SNAPSHOT
    
    4.0.0

    phoenix

    

        
        
            org.apache.phoenix
            phoenix-core
            5.0.0-HBase-2.0
        

        
        
            org.apache.hadoop
            hadoop-common
            2.8.4
        

    

 

你可能感兴趣的:(Java磨刀不误砍柴工)