- Community Home
- >
- Software
- >
- HPE Ezmeral Software platform
- >
- very confused about what to put in MAPR_EXTERNAL
Categories
Company
Local Language
Forums
Discussions
Knowledge Base
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Knowledge Base
Forums
Discussions
- Cloud Mentoring and Education
- Software - General
- HPE OneView
- HPE Ezmeral Software platform
- HPE OpsRamp
Knowledge Base
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2023 02:57 PM - last edited on 07-25-2023 09:01 PM by support_s
07-25-2023 02:57 PM - last edited on 07-25-2023 09:01 PM by support_s
very confused about what to put in MAPR_EXTERNAL
Hi,
I'm trying to make the correct value for MAPR_EXTERNAL On this page it says
Do NOT use DNS names. The specified node names need to match the host name you specified for the host earlier in Node Configuration.
yet on this page, it says
When you install a MapR cluster and you specify the host names using the MapR Installer or the configure.sh script, use fully qualified domain names (FQDNs).
So does hostname=FQDN or not? Let me cut to the chase. Is this a valid line to add to env_override.sh
export MAPR_EXTERNAL="ec2-54-200-247-10.us-west-2.compute.amazonaws.com:54.200.247.10,ec2-35-163-153-190.us-west-2.compute.amazonaws.com:35.163.153.190,ec2-18-236-148-124.us-west-2.compute.amazonaws.com:18.236.148.124"
thanks,
Tim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2023 03:22 PM
07-25-2023 03:22 PM
Re: very confused about what to put in MAPR_EXTERNAL
You can use FQDN for internal as well as external subnet/interface of the aws nodes. You can keep MAPR_EXTERNAL as you mentioned in the comment.
I understand you are trying to use rest commands you get cldbmaster and that return’s an internal hostname and that should be fine actually because that is support to be an administrative command’s output.
As long as you have configured your client nodes and provided public hostnames in client’s mapr-clusters.conf they should be able to communicate to the cluster and should be able to perform Read/write ops.
Are you looking for option’s to retrieve cldbmaster’s public hostname when performing REST api call from client node OR that was just a test?
Note: The whole purpose of using MAPR_EXTERNAL to be able to allow the clients to access the mapr cluster assuming those clients are sitting behind the NAT or firewalls and can only interact to public IPs/hostnames.
--
Thanks
Shishir Prakash
Manager US Support
I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-26-2023 10:11 AM - last edited on 07-26-2023 08:07 PM by Sunitha_Mod
07-26-2023 10:11 AM - last edited on 07-26-2023 08:07 PM by Sunitha_Mod
Re: very confused about what to put in MAPR_EXTERNAL
Shishir,
Well whenever I try to do a hadoop fs -ls command I get my listing but also this
2023-07-26 16:49:17,9608 MAPR_EXTERNAL: Invalid character e found
And then I realized that the page I referenced above says
Specify a comma-separated list of tuples of host names and external IP addresses. For example:
node1:1.1.1.1,node2:1.1.1.2,node3:1.1.1.3
But this page says
The value for this environment variable is a comma-separated list of IP addresses; you cannot specify the hostname as value. For example:
ip1,ip2,ip3; <Tim11:This one ends with a semicolon>
For example, you can specify the IP addresses of the IGbE NICs (shown in the illustration above) as the value for this environment variable to allow external or low-performance clients to communicate with the cluster nodes.
export MAPR_EXTERNAL=10.11.0.0 <Tim11: This one does not end in a semicolon>
Also this page says
MAPR_EXTERNAL 10.10.123.25,10.10.123.30 If your cluster nodes have multiple NICs, use the MAPR_EXTERNAL environment variable to grant external clients access to a cluster node on specific IP addresses. The value of the MAPR_EXTERNAL environment variable on a node is a comma-separated list of up to four IP addresses with no spaces.
When I try the second one, the cluster won't even restart. So what's the right answer or more specifically which documentation page should I use?
thanks,
Tim