소스 검색

AMBARI-11068. Output file for webhcat test is hardcoded to /apps/hive/warehouse/hcatsmoke.(vbrodetskyi)

Vitaly Brodetskyi 10 년 전
부모
커밋
294268060c
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/hcat_service_check.py

+ 1 - 1
ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/hcat_service_check.py

@@ -35,7 +35,7 @@ def hcat_service_check():
 def hcat_service_check():
     import params
     unique = get_unique_id_and_date()
-    output_file = format("/apps/hive/warehouse/hcatsmoke{unique}")
+    output_file = format("{hive_apps_whs_dir}/hcatsmoke{unique}")
     test_cmd = format("fs -test -e {output_file}")
 
     if params.security_enabled: