You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@streampark.apache.org by be...@apache.org on 2023/03/10 09:04:44 UTC

[incubator-streampark] branch dev updated: [Bug] yarn session start failed (#2427)

This is an automated email from the ASF dual-hosted git repository.

benjobs pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/incubator-streampark.git


The following commit(s) were added to refs/heads/dev by this push:
     new 67b7f6296 [Bug] yarn session start failed (#2427)
67b7f6296 is described below

commit 67b7f62964e5daefb102eaa02f383c0ca35b5872
Author: xujiangfeng001 <10...@users.noreply.github.com>
AuthorDate: Fri Mar 10 17:04:38 2023 +0800

    [Bug] yarn session start failed (#2427)
---
 .../src/main/scala/org/apache/streampark/common/util/Utils.scala         | 1 -
 1 file changed, 1 deletion(-)

diff --git a/streampark-common/src/main/scala/org/apache/streampark/common/util/Utils.scala b/streampark-common/src/main/scala/org/apache/streampark/common/util/Utils.scala
index c1d3cf97c..a372b7daa 100644
--- a/streampark-common/src/main/scala/org/apache/streampark/common/util/Utils.scala
+++ b/streampark-common/src/main/scala/org/apache/streampark/common/util/Utils.scala
@@ -182,7 +182,6 @@ object Utils {
 
   implicit class StringCasts(v: String) {
     def cast[T](classType: Class[_]): T = {
-      Utils.required(classType.isPrimitive, "target class must be a primitive type")
       classType match {
         case c if c == classOf[String] => v.asInstanceOf[T]
         case c if c == classOf[Byte] => v.toByte.asInstanceOf[T]