python無法執行指令碼 無法執行python指令碼

2021-10-19 21:35:31 字數 1020 閱讀 9839

根據指令(我是python新手),我執行:

performance.py localhost 999

我得到這個錯誤: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

所以不知道這是怎麼回事。錯誤error: unable to access jarfile 999表明我沒有正確傳遞值。不過,我是按照指令碼中的說明操作的。在

我錯過了什麼?

p、 這是在windows server 2012上發生的

ubuntu 使用sh 無法執行指令碼檔案的解決方法

最近剛開始學習linux shell語言 看的是鳥哥的私房菜,裡面有講到執行shell指令碼有兩種方法 1.設定執行屬性 chmod 755 file 執行 如果已經在當前目錄 file 2.使用 sh file 執行 但是在vmware裡裝的ubuntu 11.10卻無法執行 bin bash d...

python自動執行指令碼

總體思路 將網頁執行指令碼抓包後轉換成python 用迴圈自動執行 1 抓包 f12開啟瀏覽器抓包,點執行按鈕,network copy curl 2 curl轉換成python curl轉換python 將轉換後的 copy到python檔案中,後面加迴圈語句,如下 for month in ra...

shell指令碼無法連線highgo資料庫

目錄 環境症狀 問題原因 解決方案 環境系統平台 linux x86 64 red hat enterprise linux 6 版本 4.1.1 症狀客戶在root使用者下,執行shell指令碼不能連線highgo資料庫,報錯缺少lib.so檔案。檢視客戶root使用者下的.bash profil...