I am trying to run the performance.py script that comes with the Phoenix Apache open source project.
Per instructions (I am new to python), I execute:
performance.py localhost 999
I get this error:
Phoenix Performance Evaluation Script 1.0
-----------------------------------------
Creating performance table...
Error: Could not find or load main class org.apache.phoenix.util.PhoenixRuntime
Query # 1 - Count - SELECT COUNT(1) FROM PERFORMANCE_999;
Query # 2 - Group By First PK - SELECT HOST FROM PERFORMANCE_999 GROUP BY HOST;
Query # 3 - Group By Second PK - SELECT DOMAIN FROM PERFORMANCE_999 GROUP BY DOM
AIN;
Query # 4 - Truncate + Group By - SELECT TRUNC(DATE,'DAY') DAY FROM PERFORMANCE_
999 GROUP BY TRUNC(DATE,'DAY');
Query # 5 - Filter + Count - SELECT COUNT(1) FROM PERFORMANCE_999 WHERE CORE<10;
Generating and upserting data...
Error: Unable to access jarfile 999
Error: Could not find or load main class org.apache.phoenix.util.PhoenixRuntime
So not sure whats going on here. Error Error: Unable to access jarfile 999
suggests that I not passing in values correctly. However, I am following the instructions in that script.
What am I missing?
P.S. This is happening on Windows Server 2012