nakul777 opened a new issue, #11836:
URL: https://github.com/apache/pinot/issues/11836

   Hi all,
   
   I am trying to install pinot after downloading the code from this 
repository. 
   
   I am executing via admin mode   on win 7 64 bit the following command
   
   `mvn clean install -DskipTests -Pbin-dist
   `
   
   I am getting the below mentioned error message
   
   `[INFO] 
------------------------------------------------------------------------
   [INFO] Reactor Summary for Pinot 0.13.0-SNAPSHOT:
   [INFO]
   [INFO] Pinot .............................................. SUCCESS [02:25 
min]
   [INFO] Pinot Service Provider Interface ................... FAILURE [01:46 
min]
   [INFO] Pinot Segment Service Provider Interface ........... SKIPPED
   [INFO] Pinot Plugins ...................................... SKIPPED
   [INFO] Pinot Metrics ...................................... SKIPPED
   [INFO] Pinot Yammer Metrics ............................... SKIPPED
   [INFO] Pinot FMPP plugin .................................. SKIPPED
   [INFO] Pinot Common ....................................... SKIPPED
   [INFO] Pinot Input Format ................................. SKIPPED
   [INFO] Pinot Avro Base .................................... SKIPPED
   [INFO] Pinot Avro ......................................... SKIPPED
   [INFO] Pinot Csv .......................................... SKIPPED
   [INFO] Pinot JSON ......................................... SKIPPED
   [INFO] Pinot local segment implementations ................ SKIPPED
   [INFO] Pinot Core ......................................... SKIPPED
   [INFO] Pinot Query Planner ................................ SKIPPED
   [INFO] Pinot Query Runtime ................................ SKIPPED
   [INFO] Pinot Server ....................................... SKIPPED
   [INFO] Pinot Segment Uploader ............................. SKIPPED
   [INFO] Pinot Segment Uploader Default ..................... SKIPPED
   [INFO] Pinot Controller ................................... SKIPPED
   [INFO] Pinot Broker ....................................... SKIPPED
   [INFO] Pinot Clients ...................................... SKIPPED
   [INFO] Pinot Java Client .................................. SKIPPED
   [INFO] Pinot JDBC Client .................................. SKIPPED
   [INFO] Pinot Batch Ingestion .............................. SKIPPED
   [INFO] Pinot Batch Ingestion Common ....................... SKIPPED
   [INFO] Pinot Minion ....................................... SKIPPED
   [INFO] Pinot CLP Log ...................................... SKIPPED
   [INFO] Pinot Confluent Avro ............................... SKIPPED
   [INFO] Pinot ORC .......................................... SKIPPED
   [INFO] Pinot Parquet ...................................... SKIPPED
   [INFO] Pinot Thrift ....................................... SKIPPED
   [INFO] Pinot Protocol Buffers ............................. SKIPPED
   [INFO] Pluggable Pinot file system ........................ SKIPPED
   [INFO] Pinot Azure Data Lake Storage ...................... SKIPPED
   [INFO] Pinot Hadoop Filesystem ............................ SKIPPED
   [INFO] Pinot Google Cloud Storage ......................... SKIPPED
   [INFO] Pinot Amazon S3 .................................... SKIPPED
   [INFO] Pinot Batch Ingestion for Spark 2.4 ................ SKIPPED
   [INFO] Pinot Batch Ingestion for Spark 3.2 ................ SKIPPED
   [INFO] Pinot Batch Ingestion for Hadoop ................... SKIPPED
   [INFO] Pinot Batch Ingestion Standalone ................... SKIPPED
   [INFO] Pinot Stream Ingestion ............................. SKIPPED
   [INFO] Pinot Kafka Base ................................... SKIPPED
   [INFO] Pinot Kafka 2.x .................................... SKIPPED
   [INFO] Pinot Kinesis ...................................... SKIPPED
   [INFO] Pinot Pulsar ....................................... SKIPPED
   [INFO] Pinot Minion Tasks ................................. SKIPPED
   [INFO] Pinot Minion Built-In Tasks ........................ SKIPPED
   [INFO] Pinot Dropwizard Metrics ........................... SKIPPED
   [INFO] Pinot Segment Writer ............................... SKIPPED
   [INFO] Pinot Segment Writer File Based .................... SKIPPED
   [INFO] Pluggable Pinot Environment Provider ............... SKIPPED
   [INFO] Pinot Azure Environment ............................ SKIPPED
   [INFO] Pinot Tools ........................................ SKIPPED
   [INFO] Pinot Test Utils ................................... SKIPPED
   [INFO] Pinot Integration Tests ............................ SKIPPED
   [INFO] Pinot Perf ......................................... SKIPPED
   [INFO] Pinot Distribution ................................. SKIPPED
   [INFO] Pinot Connectors ................................... SKIPPED
   [INFO] Pinot Spark Common ................................. SKIPPED
   [INFO] Pinot Spark 2 Connector ............................ SKIPPED
   [INFO] Pinot Spark 3 Connector ............................ SKIPPED
   [INFO] Pinot Flink Connector .............................. SKIPPED
   [INFO] Pinot Compatibility Verifier ....................... SKIPPED
   [INFO] 
------------------------------------------------------------------------
   [INFO] BUILD FAILURE
   [INFO] 
------------------------------------------------------------------------
   [INFO] Total time:  04:30 min
   [INFO] Finished at: 2023-10-19T20:05:24+05:30
   [INFO] 
------------------------------------------------------------------------
   [ERROR] Failed to execute goal 
com.diffplug.spotless:spotless-maven-plugin:2.28.
   0:check (default) on project pinot-spi: The following files had format 
violation
   s:
   [ERROR]     
src\main\java\org\apache\pinot\spi\accounting\ThreadAccountantFactor
   y.java
   [ERROR]         @@ -1,26 +1,26 @@
   [ERROR]         -/**\n
   [ERROR]         - * Licensed to the Apache Software Foundation (ASF) under 
one\n
   
   [ERROR]         - * or more contributor license agreements.  See the NOTICE 
file
   \n
   [ERROR]         - * distributed with this work for additional information\n
   [ERROR]         - * regarding copyright ownership.  The ASF licenses this 
file\n
   
   [ERROR]         - * to you under the Apache License, Version 2.0 (the\n
   [ERROR]         - * "License"); you may not use this file except in 
compliance\n
   
   [ERROR]         - * with the License.  You may obtain a copy of the License 
at\n
   
   [ERROR]         - *\n
   [ERROR]         - *   http://www.apache.org/licenses/LICENSE-2.0\n
   [ERROR]         - *\n
   [ERROR]         - * Unless required by applicable law or agreed to in 
writing,\n
   
   [ERROR]         - * software distributed under the License is distributed on 
an\
   n
   [ERROR]         - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n
   [ERROR]         - * KIND, either express or implied.  See the License for 
the\n
   [ERROR]         - * specific language governing permissions and limitations\n
   [ERROR]         - * under the License.\n
   [ERROR]         - */\n
   [ERROR]         -package org.apache.pinot.spi.accounting;\n
   [ERROR]         -\n
   [ERROR]         -import org.apache.pinot.spi.env.PinotConfiguration;\n
   [ERROR]         -\n
   [ERROR]         -\n
   [ERROR]         -public interface ThreadAccountantFactory {\n
   [ERROR]         -  ThreadResourceUsageAccountant init(PinotConfiguration 
config,
    String instanceId);\n
   [ERROR]         -}\n
   [ERROR]         +/**\r\n
   [ERROR]         + * Licensed to the Apache Software Foundation (ASF) under 
one\r
   \n
   [ERROR]         + * or more contributor license agreements.  See the NOTICE 
file
   \r\n
   [ERROR]         + * distributed with this work for additional information\r\n
   [ERROR]         + * regarding copyright ownership.  The ASF licenses this 
file\r
   \n
   [ERROR]         + * to you under the Apache License, Version 2.0 (the\r\n
   [ERROR]         + * "License"); you may not use this file except in 
compliance\r
   \n
   [ERROR]         + * with the License.  You may obtain a copy of the License 
at\r
   \n
   [ERROR]         + *\r\n
   [ERROR]         + *   http://www.apache.org/licenses/LICENSE-2.0\r\n
   [ERROR]         + *\r\n
   [ERROR]         + * Unless required by applicable law or agreed to in 
writing,\r
   \n
   [ERROR]         + * software distributed under the License is distributed on 
an\
   r\n
   [ERROR]         + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF 
ANY\r\n
   [ERROR]         + * KIND, either express or implied.  See the License for 
the\r\
   n
   [ERROR]         + * specific language governing permissions and 
limitations\r\n
   [ERROR]         + * under the License.\r\n
   [ERROR]         + */\r\n
   [ERROR]         +package org.apache.pinot.spi.accounting;\r\n
   [ERROR]         +\r\n
   [ERROR]         +import org.apache.pinot.spi.env.PinotConfiguration;\r\n
   [ERROR]         +\r\n
   [ERROR]     ... (4 more lines that didn't fit)
   [ERROR] Violations also present in 285 other files.
   [ERROR] Run 'mvn spotless:apply' to fix these violations.
   [ERROR] -> [Help 1]
   [ERROR]
   [ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
swit
   ch.
   [ERROR] Re-run Maven using the -X switch to enable full debug logging.
   [ERROR]
   [ERROR] For more information about the errors and possible solutions, please 
rea
   d the following articles:
   [ERROR] [Help 1] 
http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionE
   xception
   [ERROR]
   [ERROR] After correcting the problems, you can resume the build with the 
command
   
   [ERROR]   mvn <args> -rf :pinot-spi
   ` 
   
   The output after adding -e switch is as follows
   
   `xp) RegexpMultiline: Line contains carriage return
   [WARNING] src\test\java\org\apache\pinot\spi\utils\TimeUtilsTest.java:[44] 
(rege
   xp) RegexpMultiline: Line contains carriage return
   [WARNING] src\test\java\org\apache\pinot\spi\utils\TimeUtilsTest.java:[45] 
(rege
   xp) RegexpMultiline: Line contains carriage return
   [WARNING] src\test\java\org\apache\pinot\spi\utils\TimeUtilsTest.java:[46] 
(rege
   xp) RegexpMultiline: Line contains carriage return
   [WARNING] src\test\java\org\apache\pinot\spi\utils\TimeUtilsTest.java:[47] 
(rege
   xp) RegexpMultiline: Line contains carriage return
   [WARNING] src\test\java\org\apache\pinot\spi\utils\TimeUtilsTest.java:[48] 
(rege
   xp) RegexpMultiline: Line contains carriage return
   [WARNING] src\test\java\org\apache\pinot\spi\utils\TimeUtilsTest.java:[49] 
(rege
   xp) RegexpMultiline: Line contains carriage return
   [WARNING] src\test\java\org\apache\pinot\spi\utils\TimeUtilsTest.java:[50] 
(rege
   xp) RegexpMultiline: Line contains carriage return
   [WARNING] src\test\java\org\apache\pinot\spi\utils\TimeUtilsTest.java:[51] 
(rege
   xp) RegexpMultiline: Line contains carriage return
   [WARNING] src\test\java\org\apache\pinot\spi\utils\TimeUtilsTest.java:[52] 
(rege
   xp) RegexpMultiline: Line contains carriage return
   [WARNING] src\test\java\org\apache\pinot\spi\utils\TimeUtilsTest.java:[53] 
(rege
   xp) RegexpMultiline: Line contains carriage return
   [WARNING] src\test\java\org\apache\pinot\spi\utils\TimeUtilsTest.java:[54] 
(rege
   xp) RegexpMultiline: Line contains carriage return
   [WARNING] src\test\java\org\apache\pinot\spi\utils\TimeUtilsTest.java:[55] 
(rege
   xp) RegexpMultiline: Line contains carriage return
   [WARNING] src\test\java\org\apache\pinot\spi\utils\TimeUtilsTest.java:[56] 
(rege
   xp) RegexpMultiline: Line contains carriage return
   [WARNING] src\test\java\org\apache\pinot\spi\utils\TimeUtilsTest.java:[57] 
(rege
   xp) RegexpMultiline: Line contains carriage return
   [WARNING] src\test\java\org\apache\pinot\spi\utils\TimeUtilsTest.java:[58] 
(rege
   xp) RegexpMultiline: Line contains carriage return
   [WARNING] src\test\java\org\apache\pinot\spi\utils\TimeUtilsTest.java:[59] 
(rege
   xp) RegexpMultiline: Line contains carriage return
   [INFO] 
------------------------------------------------------------------------
   [INFO] Reactor Summary for Pinot 0.13.0-SNAPSHOT:
   [INFO]
   [INFO] Pinot .............................................. SUCCESS [01:24 
min]
   [INFO] Pinot Service Provider Interface ................... FAILURE [05:08 
min]
   [INFO] Pinot Segment Service Provider Interface ........... SKIPPED
   [INFO] Pinot Plugins ...................................... SKIPPED
   [INFO] Pinot Metrics ...................................... SKIPPED
   [INFO] Pinot Yammer Metrics ............................... SKIPPED
   [INFO] Pinot FMPP plugin .................................. SKIPPED
   [INFO] Pinot Common ....................................... SKIPPED
   [INFO] Pinot Input Format ................................. SKIPPED
   [INFO] Pinot Avro Base .................................... SKIPPED
   [INFO] Pinot Avro ......................................... SKIPPED
   [INFO] Pinot Csv .......................................... SKIPPED
   [INFO] Pinot JSON ......................................... SKIPPED
   [INFO] Pinot local segment implementations ................ SKIPPED
   [INFO] Pinot Core ......................................... SKIPPED
   [INFO] Pinot Query Planner ................................ SKIPPED
   [INFO] Pinot Query Runtime ................................ SKIPPED
   [INFO] Pinot Server ....................................... SKIPPED
   [INFO] Pinot Segment Uploader ............................. SKIPPED
   [INFO] Pinot Segment Uploader Default ..................... SKIPPED
   [INFO] Pinot Controller ................................... SKIPPED
   [INFO] Pinot Broker ....................................... SKIPPED
   [INFO] Pinot Clients ...................................... SKIPPED
   [INFO] Pinot Java Client .................................. SKIPPED
   [INFO] Pinot JDBC Client .................................. SKIPPED
   [INFO] Pinot Batch Ingestion .............................. SKIPPED
   [INFO] Pinot Batch Ingestion Common ....................... SKIPPED
   [INFO] Pinot Minion ....................................... SKIPPED
   [INFO] Pinot CLP Log ...................................... SKIPPED
   [INFO] Pinot Confluent Avro ............................... SKIPPED
   [INFO] Pinot ORC .......................................... SKIPPED
   [INFO] Pinot Parquet ...................................... SKIPPED
   [INFO] Pinot Thrift ....................................... SKIPPED
   [INFO] Pinot Protocol Buffers ............................. SKIPPED
   [INFO] Pluggable Pinot file system ........................ SKIPPED
   [INFO] Pinot Azure Data Lake Storage ...................... SKIPPED
   [INFO] Pinot Hadoop Filesystem ............................ SKIPPED
   [INFO] Pinot Google Cloud Storage ......................... SKIPPED
   [INFO] Pinot Amazon S3 .................................... SKIPPED
   [INFO] Pinot Batch Ingestion for Spark 2.4 ................ SKIPPED
   [INFO] Pinot Batch Ingestion for Spark 3.2 ................ SKIPPED
   [INFO] Pinot Batch Ingestion for Hadoop ................... SKIPPED
   [INFO] Pinot Batch Ingestion Standalone ................... SKIPPED
   [INFO] Pinot Stream Ingestion ............................. SKIPPED
   [INFO] Pinot Kafka Base ................................... SKIPPED
   [INFO] Pinot Kafka 2.x .................................... SKIPPED
   [INFO] Pinot Kinesis ...................................... SKIPPED
   [INFO] Pinot Pulsar ....................................... SKIPPED
   [INFO] Pinot Minion Tasks ................................. SKIPPED
   [INFO] Pinot Minion Built-In Tasks ........................ SKIPPED
   [INFO] Pinot Dropwizard Metrics ........................... SKIPPED
   [INFO] Pinot Segment Writer ............................... SKIPPED
   [INFO] Pinot Segment Writer File Based .................... SKIPPED
   [INFO] Pluggable Pinot Environment Provider ............... SKIPPED
   [INFO] Pinot Azure Environment ............................ SKIPPED
   [INFO] Pinot Tools ........................................ SKIPPED
   [INFO] Pinot Test Utils ................................... SKIPPED
   [INFO] Pinot Integration Tests ............................ SKIPPED
   [INFO] Pinot Perf ......................................... SKIPPED
   [INFO] Pinot Distribution ................................. SKIPPED
   [INFO] Pinot Connectors ................................... SKIPPED
   [INFO] Pinot Spark Common ................................. SKIPPED
   [INFO] Pinot Spark 2 Connector ............................ SKIPPED
   [INFO] Pinot Spark 3 Connector ............................ SKIPPED
   [INFO] Pinot Flink Connector .............................. SKIPPED
   [INFO] Pinot Compatibility Verifier ....................... SKIPPED
   [INFO] 
------------------------------------------------------------------------
   [INFO] BUILD FAILURE
   [INFO] 
------------------------------------------------------------------------
   [INFO] Total time:  06:44 min
   [INFO] Finished at: 2023-10-19T22:08:23+05:30
   [INFO] 
------------------------------------------------------------------------
   [ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-checkstyle-plugin:
   3.1.2:check (checkstyle) on project pinot-spi: You have 32670 Checkstyle 
violati
   ons. -> [Help 1]
   org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute 
goal o
   rg.apache.maven.plugins:maven-checkstyle-plugin:3.1.2:check (checkstyle) on 
proj
   ect pinot-spi: You have 32670 Checkstyle violations.
       at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
(MojoExecutor.ja
   va:215)
       at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
(MojoExecutor.ja
   va:156)
       at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
(MojoExecutor.ja
   va:148)
       at 
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (
   LifecycleModuleBuilder.java:117)
       at 
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (
   LifecycleModuleBuilder.java:81)
       at 
org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreaded
   Builder.build (SingleThreadedBuilder.java:56)
       at org.apache.maven.lifecycle.internal.LifecycleStarter.execute 
(LifecycleSt
   arter.java:128)
       at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
       at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
       at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
       at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957)
       at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289)
       at org.apache.maven.cli.MavenCli.main (MavenCli.java:193)
       at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
       at jdk.internal.reflect.NativeMethodAccessorImpl.invoke 
(NativeMethodAccesso
   rImpl.java:77)
       at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke 
(DelegatingMetho
   dAccessorImpl.java:43)
       at java.lang.reflect.Method.invoke (Method.java:568)
       at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced 
(Launche
   r.java:282)
       at org.codehaus.plexus.classworlds.launcher.Launcher.launch 
(Launcher.java:2
   25)
       at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode 
(Launc
   her.java:406)
       at org.codehaus.plexus.classworlds.launcher.Launcher.main 
(Launcher.java:347
   )
   Caused by: org.apache.maven.plugin.MojoFailureException: You have 32670 
Checksty
   le violations.
       at 
org.apache.maven.plugins.checkstyle.CheckstyleViolationCheckMojo.execute
   (CheckstyleViolationCheckMojo.java:595)
       at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo 
(DefaultBui
   ldPluginManager.java:137)
       at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
(MojoExecutor.ja
   va:210)
       at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
(MojoExecutor.ja
   va:156)
       at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
(MojoExecutor.ja
   va:148)
       at 
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (
   LifecycleModuleBuilder.java:117)
       at 
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (
   LifecycleModuleBuilder.java:81)
       at 
org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreaded
   Builder.build (SingleThreadedBuilder.java:56)
       at org.apache.maven.lifecycle.internal.LifecycleStarter.execute 
(LifecycleSt
   arter.java:128)
       at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
       at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
       at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
       at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957)
       at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289)
       at org.apache.maven.cli.MavenCli.main (MavenCli.java:193)
       at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
       at jdk.internal.reflect.NativeMethodAccessorImpl.invoke 
(NativeMethodAccesso
   rImpl.java:77)
       at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke 
(DelegatingMetho
   dAccessorImpl.java:43)
       at java.lang.reflect.Method.invoke (Method.java:568)
       at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced 
(Launche
   r.java:282)
       at org.codehaus.plexus.classworlds.launcher.Launcher.launch 
(Launcher.java:2
   25)
       at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode 
(Launc
   her.java:406)
       at org.codehaus.plexus.classworlds.launcher.Launcher.main 
(Launcher.java:347
   )
   [ERROR]
   [ERROR] Re-run Maven using the -X switch to enable full debug logging.
   [ERROR]
   [ERROR] For more information about the errors and possible solutions, please 
rea
   d the following articles:
   [ERROR] [Help 1] 
http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureExc
   eption
   [ERROR]
   [ERROR] After correcting the problems, you can resume the build with the 
command
   
   [ERROR]   mvn <args> -rf :pinot-spi
   
   F:\SCAproj\pinot-master\pinot-master>`
   
   There are some similar   opened issues but there were no resolution/details 
provided in those issues, hence a new issue is being created.
   
   https://github.com/apache/pinot/issues/11433


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to