BookmarkSubscribeRSS Feed
vamsinuthalapat
Obsidian | Level 7

Hi Everyone,

 

We are getting below error while executing hadoop libname statements through schedule manager and Enterprise guide applications.

 

shmget() failed in Java extension: rc -1 errno 28.
23 LIBNAME RetailH HADOOP DBCREATE_TABLE_OPTS='STORED AS PARQUET' DBMAX_TEXT=4000
24 server = "hiveprod.rgbk.com" DBCREATE_TABLE_OPTS = "tblproperties ('transactional'='false')"
25 URI="jdbc:hive2://hiveprod.rgbk.com:10000/DM_RETAIL;ssl=true;principal=hive/_HOST@CORP.RGBK.COM;AuthMech=1;
25 ! KrbRealm=CORP.RGBK.COM;KrbHostFQDN=hiveprod.rgbk.com;KrbServiceName=hive;"
26 subchar=QUESTIONMARK;
ERROR: Error allocating environment: Unable to load extension: (tkjava)Unable to start the Java VM.
ERROR: Error in the LIBNAME statement.


Could you guide me on troubleshooting process, thanks.

1 REPLY 1
gwootton
SAS Super FREQ
It looks like the system function shmget is used to acquire shared memory. The error 28, 'No space left on device' means that all the memory IDs are in use or there isn't any more shared memory to allocate.

https://man7.org/linux/man-pages/man2/shmget.2.html
--
Greg Wootton | Principal Systems Technical Support Engineer

suga badge.PNGThe SAS Users Group for Administrators (SUGA) is open to all SAS administrators and architects who install, update, manage or maintain a SAS deployment. 

Join SUGA 

Get Started with SAS Information Catalog in SAS Viya

SAS technical trainer Erin Winters shows you how to explore assets, create new data discovery agents, schedule data discovery agents, and much more.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 1 reply
  • 224 views
  • 0 likes
  • 2 in conversation