Description
Replace all sys.error by IllegalStateException. sys.error throws RuntimeException which is hard to distinguish from Spark exception.
Replace all sys.error by IllegalStateException. sys.error throws RuntimeException which is hard to distinguish from Spark exception.