-
Notifications
You must be signed in to change notification settings - Fork 0
SinaraML Known issues
You can get following warnings while running pipeline steps which is not affected pipeline functionality:
- Spark unable to delete temporary files
ERROR: ShutdownHookManager: Exception while deleting temp dir ...
- Pandas version
UserWarning: Pandas requires version '2.8.0' or newer of 'numexpr'
- Python version for the BentoML
If you encounter the following error while starting a sinara server:
ERROR: Docker daemon failed, Run CLI with sinara --verbose flag to see details
ERROR: 500 Server Error for http+docker://localhost/v1.44/containers/2211908376b1fcdb547b32ea4edef3d57fb4b30dbc0eab6bb98a559603d0ffd6/start:
Internal Server Error ("driver failed programming external connectivity on endpoint test1 (3bb75ad51c3b132ad2b008ef5546b9c778145cc2818c923ee4ab9200d26d828b):
Bind for 0.0.0.0:8888 failed: port is already allocated")
This means, that you are trying to start two sinara servers on the same port. It could happen if you created the first server and immediately created the second server instance without starting the first one.
To avoid this error, do the following:
- create the first server
- start the first server
- create the second server
- start the second server
CLI will correctly manage port allocation in this case and both servers will be able to start.
SinaraML CLI can only be run on certain OS platforms, such as:
- WSL
- MacOS
Running CLI via PowerShell or cmd in Windows is not supported.
Because of issue in Hadoop library https://issues.apache.org/jira/browse/HADOOP-3257 you can get error when using pack_files_from_tmp_to_store:
Caused by: java.net.URISyntaxException: Relative path in absolute URI: .my_file_2022-01-19_13:26:05.521206.jpg.crc
You can use following code in your notebook to replace ':' symbol
import glob
for file in [x for x in glob.glob(tmp_entity_dir + "/**", recursive=True) if ':' in x]:
os.rename(file, file.replace(':', '_'))
These files are considered hidden and not stored using pack_files_from_tmp_to_store method. Examples:
.this_file_is_hidden
_this_file_is_hidden_too