Spark research-install4j packaging spark

Source: Internet
Author: User

1. Change the Spark Source Code directory \ spark \ build's build. xml file and specify the install4j installation directory;

<Property name = "Installer. install4j. Home" value = "D: \ Program Files \ install4j"/>

2. Slave nodes;

3. Run the command line in the \ spark \ build directory;

4. Run: ant Installer. Win

5. Results:

[Install4j] compiling launcher 'spark ':
[Install4j] compiling launcher 'starter ':
[Install4j] creating media file:
[Install4j] zipping custom code JAR File
[Install4j] identifying components
[Install4j] adding JRE (windows-x86-1.6.0_01)
[Install4j] compressing files
[Install4j] applying lzma Compression
[Install4j] using custom installer icon: e: \ soft \ spark \ build \ Installer \..\..
\ SRC \ resources \ images \ spark. ICO
[Install4j] Moving media files to media directory e: \ soft \ spark \ target \ install
Er
[Install4j] The Name Of The media file is spark_2_5_6.exe.
[Install4j] the size of the media file is 33.0 MB

6. the following file should appear in the directory \ spark \ target \ Installer, indicating that the package is successful.

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.