File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
sql/hive/src/main/scala/org/apache/spark/sql/hive/client Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ import org.apache.hadoop.hive.ql.session.SessionState
4242import org .apache .hadoop .hive .serde .serdeConstants
4343import org .apache .hadoop .hive .serde2 .MetadataTypedColumnsetSerDe
4444import org .apache .hadoop .hive .serde2 .`lazy` .LazySimpleSerDe
45- import org .apache .hadoop .hive .shims .{Utils => HiveUtils }
45+ import org .apache .hadoop .hive .shims .{Utils => HiveShimsUtils }
4646
4747import org .apache .spark .{SparkConf , SparkException }
4848import org .apache .spark .internal .Logging
@@ -223,7 +223,7 @@ private[hive] class HiveClientImpl(
223223 }
224224
225225 private val userName : String = try {
226- val ugi = HiveUtils .getUGI
226+ val ugi = HiveShimsUtils .getUGI
227227 ugi.getShortUserName
228228 } catch {
229229 case _ : LoginException => throw new IOException (" Can not get login user." )
You can’t perform that action at this time.
0 commit comments