Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Error when building dataset of Hive Testbench

Highlighted

Error when building dataset of Hive Testbench

New Contributor

Hello,

Im trying to generate and load data into hive tables, through Hive testbench (https://github.com/hortonworks/hive-testbench), but when i do the first step ./tpch-build it gives the following error:

cd target/; mkdir -p lib/; ( jar cvf lib/dbgen.jar tools/ || gjar cvf lib/dbgen.jar tools/ ) /bin/sh: jar: command not found /bin/sh: gjar: command not found make: *** [target/lib/dbgen.jar] Error 127

i already tried to download the tpch_kit.zip and place it manually like someone sugest in this post

https://community.hortonworks.com/questions/25826/hive-benchmarking-error-tpcds-kitzip-issue.html

When i check the target/lib directory the dbgen.jar is not present i dont know why...

Does anyone have some sugestion why is this happening?Thanks

1 REPLY 1

Re: Error when building dataset of Hive Testbench

New Contributor

Ran into the same issue, install patch firstly.

`yum install patch`