weizuo93 opened a new issue #4500:
URL: https://github.com/apache/incubator-doris/issues/4500


   When I install a FE plugin developed by myself using command `install plugin 
from ...;` through mysql-client, the process of installation failed due to my 
code problems. After I modified the plugin code and reinstalled it using 
command `install plugin from ...;`,  mysql-client reported an error that the 
plugin has already been installed. Thus, I used command `uninstall plugin ...;` 
to uninstall the plugin for the purpose of next reinstallation, and something 
unexpected happened that mysql-client reported an another error that the plugin 
does not exist. In other words,the modified plugin can not be reinstalled.
   
   Display the installed plugins currently using command `show plugins;`  and I 
find that the plugin mentioned before does not exist.
   
   
![aa](https://user-images.githubusercontent.com/68884553/91844478-221a1c80-ec8a-11ea-8b1a-40f9f43d48c2.png)
   
   After logging in the FE node machine, I found that the the directory of 
plugin mentioned before does exist under `$plugin_path`.  After deleting the 
directory manually , the plugin mentioned before can be reinstalled 
successfully.
   
   I think it is a bug. When the installation fails, it is unreasonable to 
create a directory for the plugin under `$plugin_path` on the FE. 
   
   Next, I plan to fix this bug.
   
   
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to