Skip to content

Conversation

@stoty
Copy link
Contributor

@stoty stoty commented Mar 28, 2025

No description provided.

@stoty stoty changed the title Omid 309 OMID-309 Load hbase-env.sh and apply HBASE_OPT in startup scripts Mar 31, 2025
@stoty stoty marked this pull request as draft April 1, 2025 12:43
@stoty
Copy link
Contributor Author

stoty commented Apr 1, 2025

I will need to re-think the approach here.

CLASSPATH=$CLASSPATH:$j
done

if [ -z ${OMID_OPTS+x} ]; then
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what if we do something like

OPTS=$OMID_OPTS  
if [ -z ${OMID_OPTS+x} ]; then  
OPTS="$HBASE_OPTS":"$OPTS";  

I am just thinking aloud here.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The problem is that both may have similar options, like -Xmx, in which case it depends on the JVM version if the first or last one gets used.

That's why I want to make sure that HBASE_OPTS is a fallback to OMID_OPTS rather than using both.

Phoenix currently adds both, but I also want to fix that one, because of the possible conflicting options.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants