Skip to main content

Compile Apache Wayang on Mac M1

We release Apache Wayang v0.6.0 in the next days, and during the release testing I was wondering if we get wayang on M1 (ARM) running. And yes, a few small changes - voila!

Install maven, scala, sqlite and groovy:
brew install maven scala groovy sqlite

Download openJDK 8 for M1:
https://www.azul.com/downloads/?version=java-8-lts&os=macos&architecture=arm-64-bit&package=jdk and install the pkg. 

Get Apache Wayang either from https://dist.apache.org/repos/dist/dev/wayang/, or git-clone directly:

git clone https://github.com/apache/incubator-wayang.git

Start the build process:

cd incubator-wayang
export JAVA_HOME=/Library/Java/JavaVirtualMachines/zulu-8.jdk/Contents/Home

mvn clean install

Ready to go:

[INFO] Reactor Summary for Apache Wayang 0.6.0-SNAPSHOT:
...
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  06:24 min

After the build is done the binaries are located in mavens home:
~/.m2/repository/org/apache/wayang

Comments

  1. I Like to add one more important thing here, Big Data Market by Component (Software and Services), Type (Structured, Semi-Structured and Unstructured), Deployment Model, Vertical, and Region (North America, Europe, Asia-Pacific, Latin America & Middle East and Africa) - Global Forecast to 2021-2026

    ReplyDelete
  2. The information you have produced is so good and helpful, I will visit your website regularly.

    BA 2nd year time table

    ReplyDelete
  3. Pulprolls is one of the leading 5730 5725 5715 Thermal Credit Card Swipe Machine POS Paper Rolls Manufacturer in India. Visit our website for more information.
    5730 5725 5715 Thermal Credit Card Swipe Machine POS Paper Rolls Manufacturer

    ReplyDelete
  4. Coolearth is one of the leading Chiller Manufacturers in India, manufacturers and Suppliers. Visit our website for best chiller manufacturers, ahu manufacturers in india, and healthcare solution providers in india.
    Top Chiller Manufacturers in India

    ReplyDelete

Post a Comment

Popular posts from this blog

Deal with corrupted messages in Apache Kafka

Under some strange circumstances it can happen that a message in a Kafka topic is corrupted. This happens often by using 3rd party frameworks together with Kafka. Additionally, Kafka < 0.9 has no lock at Log.read() at the consumer read level, but has a lock on Log.write(). This can cause a rare race condition, as described in KAKFA-2477 [1]. Probably a log entry looks like: ERROR Error processing message, stopping consumer: (kafka.tools.ConsoleConsumer$) kafka.message.InvalidMessageException: Message is corrupt (stored crc = xxxxxxxxxx, computed crc = yyyyyyyyyy Kafka-Tools Kafka stores the offset of every consumer in Zookeeper. To read out the offsets, Kafka provides handy tools [2]. But also zkCli.sh can be used, at least to display the consumer and the stored offsets. First we need to find the consumer for a topic (> Kafka 0.9): bin/kafka-consumer-groups.sh --zookeeper management01:2181 --describe --group test Prior to Kafka 0.9 the only possibility to get this i

Hive query shows ERROR "too many counters"

A hive job face the odd " Too many counters:"  like Ended Job = job_xxxxxx with exception 'org.apache.hadoop.mapreduce.counters.LimitExceededException(Too many counters: 201 max=200)' FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.MapRedTask Intercepting System.exit(1) These happens when operators are used in queries ( Hive Operators ). Hive creates 4 counters per operator, max upto 1000, plus a few additional counters like file read/write, partitions and tables. Hence the number of counter required is going to be dependent upon the query.  To avoid such exception, configure " mapreduce.job.counters.max " in mapreduce-site.xml to a value above 1000. Hive will fail when he is hitting the 1k counts, but other MR jobs not. A number around 1120 should be a good choice. Using " EXPLAIN EXTENDED " and " grep -ri operators | wc -l " print out the used numbers of operators. Use this value to tweak the MR s

Life hacks for your startup with OpenAI and Bard prompts

OpenAI and Bard   are the most used GenAI tools today; the first one has a massive Microsoft investment, and the other one is an experiment from Google. But did you know that you can also use them to optimize and hack your startup? Even creating pitch scripts, sales emails, and elevator pitches with one (or both) of them helps you not only save time but also validate your marketing and wording. Curios? Here a few prompt hacks for startups to create / improve / validate buyer personas, your startups mission / vision statements, and USP definitions. Introduce yourself and your startup Introduce yourself, your startup, your website, your idea, your position, and in a few words what you are doing to the chatbot: Prompt : I'm NAME and our startup NAME, with website URL, is doing WHATEVER. With PRODUCT NAME, we aim to change or disrupt INDUSTRY. Bard is able to pull information from your website. I'm not sure if ChatGPT can do that, though. But nevertheless, now you have laid a grea