You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are many classes that attempt to implement parts of the functionality of an Env and attempt to implement/override one portion or another (like HdfsEnv and MockEnv do for FileSystem and others do for overriding timers. It would be much simpler if these interfaces would be split into separate classes.
Expected behavior
Thread
andFileSystem
are independent components, when we implement a newFileSystem
, we need not to implementThread
.Actual behavior
Thread
andFileSystem
functions are wrapped byEnv
. If we just want to implement a newFileSystem
, we also need to implementThread
.I know we can use
EnvWrapper
ordelegate to default env
to mitigate this issue, but this may causing other issues:Steps to reproduce the behavior
Try to implement a new
FileSystem
.The text was updated successfully, but these errors were encountered: