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

Denys Ordynskiy commented on DRILL-7226:
----------------------------------------

Successfully built and ran Drill in the embedded mode from the tarball.
The problem was with my archive manager 7Zip.
To solve this problem we can use built-in "tar" command on Windows 10.

For example in "cmd.exe" just run the following command:
tar -xzvf apache-drill-1.16.0-src.tar.gz

[~bbevens] could you please update documentation for Drill on Windows?

On this page - https://drill.apache.org/docs/installing-drill-on-windows/

It would be better to change this text:
"Download and install a utility for unzipping a tar.gz file, such as 7-zip."
To something like this:
"Use a built-in "tar" command in a default Windows CLI for unzipping a tar.gz 
files.".

In the "Download and Install Drill" section, it would be better to change this 
text:
"1. Download the latest version of Apache Drill here."
To this:
"1. Download zip or tar.gz archive with the latest version of Apache Drill."
Where "zip" is a link to a zip archive and "tar.gz" is a link to a tarball.

And this text:
"3. Unzip the GZ file using a third-party tool. If the tool you use does not 
unzip the underlying TAR file as well as the GZ file, perform a second unzip to 
extract the Drill software. The extraction process creates the installation 
directory containing the Drill software."
To something like this:
"3. Extract data from a zip archive or unzip the tar.gz file using a built-in 
"tar" command with options "-xzvf" and tarball filename, if tar.gz format was 
chosen instead of zip. The extraction process creates the installation 
directory containing the Drill software."

> 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
>             Fix For: 1.17.0
>
>         Attachments: 7z_version.png, broken_filenames.png, 
> 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