xuchuanyin created CARBONDATA-2636:
--------------------------------------

             Summary: Unable to build carbondata-presto in Windows Env
                 Key: CARBONDATA-2636
                 URL: https://issues.apache.org/jira/browse/CARBONDATA-2636
             Project: CarbonData
          Issue Type: Bug
            Reporter: xuchuanyin


For quite a long time till now, I always failed to compile carbon data totally 
due to carbondata-presto. The command looks like below

```

D:\01_workspace\carbondata>mvn -Dmaven.test.skip=true -Pspark-2.2 
-Pbuild-with-format -Pwindows -Dspark.version=2.2.0 clean package install

```

And the error outputs looks like below:

```

...

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Apache CarbonData :: Parent ........................ SUCCESS [ 5.857 s]
[INFO] Apache CarbonData :: Common ........................ SUCCESS [ 13.732 s]
[INFO] Apache CarbonData :: Format ........................ SUCCESS [ 34.603 s]
[INFO] Apache CarbonData :: Core .......................... SUCCESS [01:09 min]
[INFO] Apache CarbonData :: Processing .................... SUCCESS [ 33.958 s]
[INFO] Apache CarbonData :: Hadoop ........................ SUCCESS [ 19.112 s]
[INFO] Apache CarbonData :: Streaming ..................... SUCCESS [ 33.872 s]
[INFO] Apache CarbonData :: Spark Common .................. SUCCESS [01:41 min]
[INFO] Apache CarbonData :: Store SDK ..................... SUCCESS [ 37.414 s]
[INFO] Apache CarbonData :: Search ........................ SUCCESS [ 27.869 s]
[INFO] Apache CarbonData :: Lucene Index DataMap .......... SUCCESS [ 20.994 s]
[INFO] Apache CarbonData :: Bloom Index DataMap ........... SUCCESS [ 14.916 s]
[INFO] Apache CarbonData :: Spark2 ........................ SUCCESS [02:24 min]
[INFO] Apache CarbonData :: Spark Common Test ............. SUCCESS [ 18.969 s]
[INFO] Apache CarbonData :: DataMap Examples .............. SUCCESS [ 6.571 s]
[INFO] Apache CarbonData :: Assembly ...................... SUCCESS [ 17.547 s]
[INFO] Apache CarbonData :: Hive .......................... SUCCESS [ 32.285 s]
[INFO] Apache CarbonData :: presto ........................ FAILURE [ 19.983 s]
[INFO] Apache CarbonData :: Spark2 Examples ............... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 10:53 min
[INFO] Finished at: 2018-06-25T10:16:03+08:00
[INFO] Final Memory: 190M/1722M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal 
io.takari.maven.plugins:presto-maven-plugin:0.1.12:generate-service-descriptor 
(default-g
enerate-service-descriptor) on project carbondata-presto: Execution 
default-generate-service-descriptor of goal io.takar
i.maven.plugins:presto-maven-plugin:0.1.12:generate-service-descriptor failed: 
A required class was missing while execut
ing 
io.takari.maven.plugins:presto-maven-plugin:0.1.12:generate-service-descriptor: 
org\apache\carbondata\presto\CarbonC
olumnVectorWrapper (wrong name: 
org/apache/carbondata/presto/CarbonColumnVectorWrapper)
[ERROR] -----------------------------------------------------
[ERROR] realm = extension>io.takari.maven.plugins:presto-maven-plugin:0.1.12
[ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
[ERROR] urls[0] = 
file:/D:/tools/apache-maven-3.5.0/repo/io/takari/maven/plugins/presto-maven-plugin/0.1.12/presto-maven
-plugin-0.1.12.jar
[ERROR] urls[1] = 
file:/D:/tools/apache-maven-3.5.0/repo/com/google/guava/guava/14.0.1/guava-14.0.1.jar
[ERROR] urls[2] = 
file:/D:/tools/apache-maven-3.5.0/repo/com/facebook/presto/presto-spi/0.76/presto-spi-0.76.jar
[ERROR] urls[3] = 
file:/D:/tools/apache-maven-3.5.0/repo/io/airlift/slice/0.7/slice-0.7.jar
[ERROR] urls[4] = 
file:/D:/tools/apache-maven-3.5.0/repo/com/fasterxml/jackson/core/jackson-annotations/2.4.2/jackson-an
notations-2.4.2.jar
[ERROR] urls[5] = 
file:/D:/tools/apache-maven-3.5.0/repo/com/fasterxml/jackson/core/jackson-databind/2.4.2/jackson-datab
ind-2.4.2.jar
[ERROR] urls[6] = 
file:/D:/tools/apache-maven-3.5.0/repo/com/fasterxml/jackson/core/jackson-core/2.4.2/jackson-core-2.4.
2.jar
[ERROR] urls[7] = 
file:/D:/tools/apache-maven-3.5.0/repo/org/codehaus/plexus/plexus-utils/3.0.17/plexus-utils-3.0.17.jar

[ERROR] Number of foreign imports: 1
[ERROR] import: Entry[import from realm ClassRealm[maven.api, parent: null]]
[ERROR]
[ERROR] -----------------------------------------------------
[ERROR]
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
switch.
[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 
read the following articles:
[ERROR] [Help 1] 
http://cwiki.apache.org/confluence/display/MAVEN/PluginContainerException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :carbondata-presto

D:\01_workspace\carbondata>

```



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

Reply via email to