architjainjain commented on code in PR #6686:
URL: https://github.com/apache/hive/pull/6686#discussion_r3759550953


##########
pom.xml:
##########
@@ -429,7 +429,62 @@
       </dependency>
       <dependency>
         <groupId>org.graalvm.js</groupId>
-        <artifactId>js</artifactId>
+        <artifactId>js-language</artifactId>
+        <version>${graalvm.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.graalvm.polyglot</groupId>
+        <artifactId>polyglot</artifactId>
+        <version>${graalvm.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.graalvm.regex</groupId>
+        <artifactId>regex</artifactId>
+        <version>${graalvm.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.graalvm.sdk</groupId>
+        <artifactId>collections</artifactId>
+        <version>${graalvm.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.graalvm.sdk</groupId>
+        <artifactId>graal-sdk</artifactId>
+        <version>${graalvm.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.graalvm.sdk</groupId>
+        <artifactId>jniutils</artifactId>
+        <version>${graalvm.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.graalvm.sdk</groupId>
+        <artifactId>nativeimage</artifactId>
+        <version>${graalvm.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.graalvm.sdk</groupId>
+        <artifactId>word</artifactId>
+        <version>${graalvm.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.graalvm.shadowed</groupId>
+        <artifactId>icu4j</artifactId>
+        <version>${graalvm.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.graalvm.truffle</groupId>
+        <artifactId>truffle-api</artifactId>
+        <version>${graalvm.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.graalvm.truffle</groupId>
+        <artifactId>truffle-compiler</artifactId>
+        <version>${graalvm.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.graalvm.truffle</groupId>
+        <artifactId>truffle-runtime</artifactId>
         <version>${graalvm.version}</version>
       </dependency>

Review Comment:
   while we are running without this set of dependencies we were getting no 
class def found, we have just defined all of them and the error is resolved.
   errors:
   ```
   Error
   org/graalvm/collections/UnmodifiableEconomicMap
   Stacktrace
   java.lang.NoClassDefFoundError: 
org/graalvm/collections/UnmodifiableEconomicMap
   ```
   
   
   ```
   Could not initialize class 
com.oracle.truffle.js.scriptengine.GraalJSScriptEngine
   Stacktrace
   java.lang.NoClassDefFoundError: Could not initialize class 
com.oracle.truffle.js.scriptengine.GraalJSScriptEngine
   ```
   
   
   CI link: 
https://ci.hive.apache.org/blue/organizations/jenkins/hive-precommit/detail/PR-6686/1/tests



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to