Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Won't Fix
-
0.8.0
-
None
-
None
Description
Error message shown to the user should be consistent across interpreters.
For livy2 interpreter, if user tries to modify config(livy2.conf) then he is shown the error message :
Can not change interpreter session properties after this session is started
The error message shown in spark2 interpreter for the same scenario is :
Can not change interpreter properties when interpreter process has already been launched
Error messages should be consistent for both scenarios.
Test steps to reproduce this scenario :
1) Create livy2 config
%livy2.conf livy.spark.app.name test_new_app spark.executor.instances 2
2) Run any spark statement in new para
%livy2 sc.version
3) Once spark context is created, try to modify livy conf.
%livy2.conf livy.spark.app.name test_new_app spark.executor.instances 4
repeat the same steps for spark2 interpreter as well and see that error messages shown are same.