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

Kunal Khatua edited comment on DRILL-7226 at 4/30/19 11:53 PM:
---------------------------------------------------------------

[~denysord88] I was able to build on my Windows Pro 10 without any issue (maven 
version = 3.5.2), for the *mapr* profile. I'm, of course, not able to run it 
though, so I tried with the default as well. I was even able to run Drill in 
embedded mode (drill-embedded.bat).


{code}
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Apache Drill Root POM .............................. SUCCESS [ 28.712 s]
[INFO] tools/Parent Pom ................................... SUCCESS [  2.214 s]
[INFO] tools/freemarker codegen tooling ................... SUCCESS [ 28.078 s]
[INFO] Drill Protocol ..................................... SUCCESS [ 50.707 s]
[INFO] Common (Logical Plan, Base expressions) ............ SUCCESS [ 35.353 s]
[INFO] Logical Plan, Base expressions ..................... SUCCESS [ 50.205 s]
[INFO] exec/Parent Pom .................................... SUCCESS [  3.324 s]
[INFO] exec/memory/Parent Pom ............................. SUCCESS [  2.142 s]
[INFO] exec/memory/base ................................... SUCCESS [ 21.928 s]
[INFO] exec/rpc ........................................... SUCCESS [ 27.368 s]
[INFO] exec/Vectors ....................................... SUCCESS [04:54 min]
[INFO] contrib/Parent Pom ................................. SUCCESS [  1.361 s]
[INFO] contrib/data/Parent Pom ............................ SUCCESS [  1.748 s]
[INFO] contrib/data/tpch-sample-data ...................... SUCCESS [ 10.786 s]
[INFO] exec/Java Execution Engine ......................... SUCCESS [12:45 min]
[INFO] exec/JDBC Driver using dependencies ................ SUCCESS [01:46 min]
[INFO] JDBC JAR with all dependencies ..................... SUCCESS [01:37 min]
[INFO] Drill-on-YARN ...................................... SUCCESS [ 43.917 s]
[INFO] contrib/kudu-storage-plugin ........................ SUCCESS [01:06 min]
[INFO] contrib/opentsdb-storage-plugin .................... SUCCESS [ 33.760 s]
[INFO] contrib/mongo-storage-plugin ....................... SUCCESS [ 33.846 s]
[INFO] contrib/hbase-storage-plugin ....................... SUCCESS [01:41 min]
[INFO] contrib/jdbc-storage-plugin ........................ SUCCESS [ 29.823 s]
[INFO] contrib/hive-storage-plugin/Parent Pom ............. SUCCESS [  0.982 s]
[INFO] contrib/hive-storage-plugin/hive-exec-shaded ....... SUCCESS [06:10 min]
[INFO] contrib/hive-storage-plugin/core ................... SUCCESS [01:26 min]
[INFO] contrib/kafka-storage-plugin ....................... SUCCESS [ 48.280 s]
[INFO] contrib/drill-udfs ................................. SUCCESS [ 39.188 s]
[INFO] contrib/format-syslog .............................. SUCCESS [ 32.512 s]
[INFO] contrib/ltsv-format-plugin ......................... SUCCESS [ 31.756 s]
[INFO] Packaging and Distribution Assembly ................ SUCCESS [08:58 min]
[INFO] contrib/mapr-format-plugin ......................... SUCCESS [01:09 min]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 50:59 min
[INFO] Finished at: 2019-04-30T16:47:26-07:00
[INFO] Final Memory: 186M/1740M
[INFO] ------------------------------------------------------------------------
{code}

Do you have protoc installed on your Windows box by any chance? I don't have it 
on mine.


was (Author: kkhatua):
[~denysord88] I was able to build on my Windows Pro 10 without any issue (maven 
version = 3.5.2), for the *mapr* profile. I'm, of course, not able to run it 
though, so I tried with the default as well. I was even able to run Drill in 
embedded mode (drill-embedded.bat).


{code}
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Apache Drill Root POM .............................. SUCCESS [ 28.712 s]
[INFO] tools/Parent Pom ................................... SUCCESS [  2.214 s]
[INFO] tools/freemarker codegen tooling ................... SUCCESS [ 28.078 s]
[INFO] Drill Protocol ..................................... SUCCESS [ 50.707 s]
[INFO] Common (Logical Plan, Base expressions) ............ SUCCESS [ 35.353 s]
[INFO] Logical Plan, Base expressions ..................... SUCCESS [ 50.205 s]
[INFO] exec/Parent Pom .................................... SUCCESS [  3.324 s]
[INFO] exec/memory/Parent Pom ............................. SUCCESS [  2.142 s]
[INFO] exec/memory/base ................................... SUCCESS [ 21.928 s]
[INFO] exec/rpc ........................................... SUCCESS [ 27.368 s]
[INFO] exec/Vectors ....................................... SUCCESS [04:54 min]
[INFO] contrib/Parent Pom ................................. SUCCESS [  1.361 s]
[INFO] contrib/data/Parent Pom ............................ SUCCESS [  1.748 s]
[INFO] contrib/data/tpch-sample-data ...................... SUCCESS [ 10.786 s]
[INFO] exec/Java Execution Engine ......................... SUCCESS [12:45 min]
[INFO] exec/JDBC Driver using dependencies ................ SUCCESS [01:46 min]
[INFO] JDBC JAR with all dependencies ..................... SUCCESS [01:37 min]
[INFO] Drill-on-YARN ...................................... SUCCESS [ 43.917 s]
[INFO] contrib/kudu-storage-plugin ........................ SUCCESS [01:06 min]
[INFO] contrib/opentsdb-storage-plugin .................... SUCCESS [ 33.760 s]
[INFO] contrib/mongo-storage-plugin ....................... SUCCESS [ 33.846 s]
[INFO] contrib/hbase-storage-plugin ....................... SUCCESS [01:41 min]
[INFO] contrib/jdbc-storage-plugin ........................ SUCCESS [ 29.823 s]
[INFO] contrib/hive-storage-plugin/Parent Pom ............. SUCCESS [  0.982 s]
[INFO] contrib/hive-storage-plugin/hive-exec-shaded ....... SUCCESS [06:10 min]
[INFO] contrib/hive-storage-plugin/core ................... SUCCESS [01:26 min]
[INFO] contrib/kafka-storage-plugin ....................... SUCCESS [ 48.280 s]
[INFO] contrib/drill-udfs ................................. SUCCESS [ 39.188 s]
[INFO] contrib/format-syslog .............................. SUCCESS [ 32.512 s]
[INFO] contrib/ltsv-format-plugin ......................... SUCCESS [ 31.756 s]
[INFO] Packaging and Distribution Assembly ................ SUCCESS [08:58 min]
[INFO] contrib/mapr-format-plugin ......................... SUCCESS [01:09 min]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 50:59 min
[INFO] Finished at: 2019-04-30T16:47:26-07:00
[INFO] Final Memory: 186M/1740M
[INFO] ------------------------------------------------------------------------
{code}

> Compilation error on Windows when building from the release tarball sources
> ---------------------------------------------------------------------------
>
>                 Key: DRILL-7226
>                 URL: https://issues.apache.org/jira/browse/DRILL-7226
>             Project: Apache Drill
>          Issue Type: Bug
>    Affects Versions: 1.15.0
>            Reporter: Denys Ordynskiy
>            Assignee: Kunal Khatua
>            Priority: Major
>         Attachments: tarball_building.log
>
>
> *Description:*
>  OS - Windows.
>  Downloaded tarball with sources for the 
> [1.15|http://home.apache.org/~vitalii/drill/releases/1.15.0/rc2/apache-drill-1.15.0-src.tar.gz]
>  or 
> [1.16|http://home.apache.org/~sorabh/drill/releases/1.16.0/rc2/apache-drill-1.16.0-src.tar.gz]
>  Drill release.
>  Extracted the sources.
>  Built sources using the following command:
> {noformat}
> mvn clean install -DskipTests -Pmapr
> {noformat}
> *Expected result:*
>  BUILD SUCCESS
> *Actual result:*
> {noformat}
> ...
> [ERROR] COMPILATION ERROR :
> [INFO] -------------------------------------------------------------
> [ERROR] 
> D:\src\rc2\apache-drill-1.16.0-src\protocol\src\main\java\org\apache\drill\exec\proto\beans\RecordBatchDef.java:[53,17]
>  error: cannot find symbol
>   symbol:   class SerializedField
>   location: class RecordBatchDef
> ...
> BUILD FAILURE
> {noformat}
> See "tarball_building.log"
> There are no errors when building sources on Windows from the GitHub release 
> [branch|https://github.com/sohami/drill/commits/drill-1.16.0].



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

Reply via email to