[ 
https://issues.apache.org/jira/browse/KYLIN-3461?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16566244#comment-16566244
 ] 

ASF GitHub Bot commented on KYLIN-3461:
---------------------------------------

shaofengshi closed pull request #183: KYLIN-3461 metastore.sh 
refresh-cube-signature not updating cube sign…
URL: https://github.com/apache/kylin/pull/183
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/tool-assembly/pom.xml b/tool-assembly/pom.xml
index 1947342bde..5e40bd53d6 100644
--- a/tool-assembly/pom.xml
+++ b/tool-assembly/pom.xml
@@ -104,6 +104,7 @@
                                     
<include>org.springframework.security:spring-security-core</include>
                                     
<include>org.springframework.security:spring-security-acl</include>
                                     
<include>org.springframework:spring-core</include>
+                                    <include>com.fasterxml.jackson*:*</include>
                                 </includes>
                             </artifactSet>
                             <relocations>
@@ -127,6 +128,10 @@
                                     <pattern>org.apache.http</pattern>
                                     
<shadedPattern>${shadeBase}.org.apache.http</shadedPattern>
                                 </relocation>
+                                <relocation>
+                                    <pattern>com.fasterxml.jackson</pattern>
+                                    
<shadedPattern>${shadeBase}.com.fasterxml.jackson</shadedPattern>
+                                </relocation>
                             </relocations>
                             <filters>
                                 <filter>


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


> "metastore.sh refresh-cube-signature" not updating cube signature as expected 
> ------------------------------------------------------------------------------
>
>                 Key: KYLIN-3461
>                 URL: https://issues.apache.org/jira/browse/KYLIN-3461
>             Project: Kylin
>          Issue Type: Bug
>          Components: Client - CLI
>    Affects Versions: v2.3.2
>            Reporter: Yuan Weizhao
>            Assignee: Na Zhai
>            Priority: Critical
>             Fix For: v2.4.1, v2.5.0
>
>         Attachments: build-cube-log.png, 
> log-2-calculate-signature-when-refresh-cube-signature.log, 
> log1-calculate-signature-when-building.log, refresh-cube-signature-log.png
>
>
> Recently I upgraded kylin from 2.3.1 to 2.3.2, and when I tried to build a 
> cube, the Web UI told me that my cube signature is inconsistent, and 
> suggested that I use the metastore.sh script to refresh all cube signatures. 
>  I did what I was told to, but as I can read from the log, the script didn't 
> update any cube signature, and I still received the same error message when I 
> retried to build the cube.
>  I did some digging on the source code, and add some logging statements, 
> re-packaged kylin and deployed the more-logging version. I found that when 
> kylin refreshes cube signatures and build new cube segments, it always check 
> whether the cube signature equals to the calculated signature which is 
> calculated by method 
> org.apache.kylin.cube.model.CubeDesc#calculateSignature().
> And as I observed from the log, this method return DIFFERENT RESULT under the 
> above two occasions!
> The Difference lies in that when building cube segments invokes 
> calculateSignature(), it will add "encoding_version" into the "rowkey" json 
> string.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to