Uploaded image for project: 'Kylin'
  1. Kylin
  2. KYLIN-5114

Build cube error:java.lang.NoSuchMethodError

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Task
    • Status: Open
    • Major
    • Resolution: Unresolved
    • v4.0.0
    • Future
    • Environment , Spark Engine
    • centos7
      Hive 3.1.2
      hadoop 3.1.3
      spark 2.4.5

    Description

      Build cube error:

      Caused by: java.lang.NoSuchMethodError: com.google.common.base.Preconditions.checkArgument(ZLjava/lang/String;Ljava/lang/Object;)V

      So I tryed move $HIVE_HOME/lib/guava-27.0-jre.jar into $KYLIN_HOME/tools/ and $KYLIN_HOME/tomcat/lib/ and restart kylin,but still the same error.

       

      虽然报错了,但是该segment却有了记录,再次构建cube就会提示segment已存在.如果删除这个segment,还会报错,报错信息如下

      Attachments

        1. kylin.log
          79 kB
          qingquanzhang
        2. image-2021-11-04-16-36-25-537.png
          102 kB
          qingquanzhang
        3. image-2021-11-04-17-34-11-875.png
          59 kB
          qingquanzhang

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            mukvin mukvin
            qingquan qingquanzhang
            Xiaoxiang Yu, Yaqian Zhang

            Dates

              Created:
              Updated:

              Slack

                Issue deployment