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

Istvan Toth commented on PHOENIX-7688:
--------------------------------------

Any idea what causes this and how to fix this  [~nihaljain.cs] ?

> Spotless behavies differently with Java 8 and 17
> ------------------------------------------------
>
>                 Key: PHOENIX-7688
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-7688
>             Project: Phoenix
>          Issue Type: Bug
>            Reporter: Istvan Toth
>            Priority: Major
>
> {noformat}
> stoty@stoty-Precision-5570:~/workspaces/apache-phoenix/phoenix (master) $ 
> jenv shell 1.8
> stoty@stoty-Precision-5570:~/workspaces/apache-phoenix/phoenix (master) $ mvn 
> spotless:check
> [INFO] Scanning for projects...
> ...
> [ERROR] Failed to execute goal 
> com.diffplug.spotless:spotless-maven-plugin:2.30.0:check (default-cli) on 
> project phoenix-core-client: The following files had format violations:
> [ERROR]     src/main/java/org/apache/phoenix/schema/MetaDataClient.java
> [ERROR]         @@ -4745,9 +4745,9 @@
> [ERROR]          ··········/**
> [ERROR]          
> ···········*·To·check·if·TTL·is·defined·at·any·of·the·child·below·we·are·checking·it·at
> [ERROR]          
> ···········*·{@link·org.apache.phoenix.coprocessor.MetaDataEndpointImpl#mutateColumn(List,·ColumnMutator,·int,·PTable,·PTable,·boolean)}
> [ERROR]         
> -···········*·level·where·in·function·{@link·org.apache.phoenix.coprocessor.MetaDataEndpointImpl#
> [ERROR]         
> -···········*·validateIfMutationAllowedOnParent(PTable,·List,·PTableType,·long,·byte[],·byte[],
> [ERROR]         
> -···········*·byte[],·List,·int)}·we·are·already·traversing·through·allDescendantViews.
> [ERROR]         +···········*·level·where·in·function
> [ERROR]         
> +···········*·{@link·org.apache.phoenix.coprocessor.MetaDataEndpointImpl#·validateIfMutationAllowedOnParent(PTable,·List,·PTableType,·long,·byte[],·byte[],·byte[],·List,·int)}
> [ERROR]         
> +···········*·we·are·already·traversing·through·allDescendantViews.
> [ERROR]          ···········*/
> [ERROR]          ········}
> [ERROR]          
> [ERROR] Run 'mvn spotless:apply' to fix these violations.  
> stoty@stoty-Precision-5570:~/workspaces/apache-phoenix/phoenix (master) 
> =====================================================================================
> $ jenv shell 17
> stoty@stoty-Precision-5570:~/workspaces/apache-phoenix/phoenix (master) $ mvn 
> spotless:check
> [INFO] Scanning for projects...
> ...
> [INFO] Apache Phoenix ..................................... SUCCESS [  2.723 
> s]
> [INFO] Phoenix Hbase 2.6.0 compatibility .................. SUCCESS [  1.017 
> s]
> [INFO] Phoenix Hbase 2.5.4 compatibility .................. SUCCESS [  0.166 
> s]
> [INFO] Phoenix Hbase 2.5.0 compatibility .................. SUCCESS [  0.158 
> s]
> [INFO] Phoenix Core Client ................................ SUCCESS [ 10.172 
> s]
> [INFO] Phoenix Core Server ................................ SUCCESS [  1.456 
> s]
> [INFO] Phoenix Core ....................................... SUCCESS [  6.015 
> s]
> [INFO] Phoenix - Pherf .................................... SUCCESS [  0.347 
> s]
> [INFO] Phoenix - Tracing Web Application .................. SUCCESS [  0.033 
> s]
> [INFO] Phoenix Client Parent .............................. SUCCESS [  0.027 
> s]
> [INFO] Phoenix Client Embedded ............................ SUCCESS [  0.017 
> s]
> [INFO] Phoenix Client Lite ................................ SUCCESS [  0.017 
> s]
> [INFO] Phoenix Server JAR ................................. SUCCESS [  0.018 
> s]
> [INFO] Phoenix Mapreduce .................................. SUCCESS [  0.017 
> s]
> [INFO] Phoenix Assembly ................................... SUCCESS [  0.019 
> s]
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] BUILD SUCCESS
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Total time:  23.299 s
> [INFO] Finished at: 2025-08-07T14:25:25+02:00
> [INFO] 
> ------------------------------------------------------------------------
>  {noformat}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to