I think this might be a Hybrid-network issue, the task running Batch can connect anywhere if Vnet and NSG have done corresponding configuration. Commonly, we don't tent to expose such data transfer in Internet, so we can setup ExpressRoute or VPN between on-prem and Azure Cloud, route table, DNS resolve, then Batch program (ConnectToHive.jar) can connect on-prem Hive datastore like internal network.
Hive Data Connection
DRK
1
Reputation point
We have a Hive datastore onprem which we are trying to connect via Java program hosted on Azure Batch. We have a self hosted integrated runtime to the onprem hive datastore. I would like to know how we can connect to this onprem site using java in Azure Batch program.