How to resolve error "Exception in thread "main" java.lang.IllegalArgumentException: java.net.UnknownHostException: nameservice1"?

How to resolve error "Exception in thread "main" java.lang.IllegalArgumentException: java.net.UnknownHostException: nameservice1"?

book

Article ID: KB0072013

calendar_today

Updated On:

Products Versions
Spotfire Data Science Team Studio 6.6

Description

This article explains the steps to resolve error:  "Exception in thread "main" java.lang.IllegalArgumentException: java.net.UnknownHostException: nameservice1"in Team Studio

Environment

Unix .

Resolution

User-added image

Above error occurs while running TDV Spark opearators if the following property in the core-site.xml file is assigned with the wrong hostname than the current Namenode hostname:
<name>fs.defaultFS</name>

Assigning the above property with the correct Namenode hostname/IP helps to resolve the issue.

 

Issue/Introduction

This article explains the steps to resolve error: "Exception in thread "main" java.lang.IllegalArgumentException: java.net.UnknownHostException: nameservice1"in Team Studio