Member since
08-16-2017
25
Posts
1
Kudos Received
0
Solutions
08-03-2018
08:44 AM
Hi, I want to create a read only user for my Solr-Cloud-Cluster. For this I create a new security.json file an uploaded into me zookeeper server. But the user solr can do selects/inserts, but the SOLRREAD user only insert. I want that the SOLRREAD user can only read a collection, but not write into it. Do you know whats wrong? /usr/iop/4.2.0.0/solr/server/scripts/cloud-scripts/zkcli.sh -zkhost bdmstd001.zit.commerzbank.com:2181 -cmd put /solr/security.json '
{
"authentication": {
"blockUnknown": true,
"class": "solr.BasicAuthPlugin",
"credentials": {
"solr": "Some hash",
"SOLRREAD": "Some hash"
}
},
"":{"v":3}},
"authorization": {
"class": "solr.RuleBasedAuthorizationPlugin",
"user-role": {
"solr": "admin",
"SOLRREAD" : "dev"
},
"permissions": [
{
"role": "dev",
"name": "collection-admin-read",
},
{
"role": "admin",
"name": "collection-admin-edit",
}
]
}
}
'
... View more
Labels:
11-28-2017
03:24 PM
Hi,
I get following Error-Message when I want to restart my Services:
resource_management.core.exceptions.Fail: Applying File['/usr/iop/current/hadoop-client/conf/hadoop-policy.xml'] failed, parent directory /usr/iop/current/hadoop-client/conf doesn't exist
It is possible to recover a Host?
... View more
Labels:
11-27-2017
10:41 AM
Hi, I want to copy a compress Log-File to an NFS-Share. The Log-Files will be produced by the HDFS Audit-Logger. Best Regards Dominik
... View more
11-23-2017
08:18 AM
Hi all, I want to pruduce a bunch of hdfs-audit log-files automatically for testing my log4j-Configuration. Log4j have to rotate the log-file if the filesize is greater than 100MB. But the test-enviroment produce only 1MB of log-file a day and the productiv-enviroment about of hunderts Gigabyte. First I want to test the configuration, bevor I deploy this on a productive Server. Do you know a technique to produce thise log-file in in a short time. Best regards Dominik
... View more
Labels:
11-23-2017
08:03 AM
Following archives will be produces. The filesize of the Log-File and also the number of archives will be ignored.
... View more
11-22-2017
03:23 PM
Hi all, i want to modify the Log4J configuration of the HDFS audit-log. The Log-Files have to be compress, if the filesize is greater than 100MB or at end of business. Files have to be rotate endloss. I habe to tried to edit the log-configuration but the filesize will be ignore. Best regards Dominik # # hdfs audit logging # hdfs.audit.logger=INFO,console log4j.logger.org.apache.hadoop.hdfs.server.namenode.FSNamesystem.audit=${hdfs.audit.logger} log4j.additivity.org.apache.hadoop.hdfs.server.namenode.FSNamesystem.audit=false log4j.appender.DRFAAUDIT=org.apache.log4j.rolling.RollingFileAppender log4j.appender.DRFAAUDIT.File=${hadoop.log.dir}/hdfs-audit.log log4j.appender.DRFAAUDIT.layout=org.apache.log4j.PatternLayout log4j.appender.DRFAAUDIT.layout.ConversionPattern=%d{ISO8601} %p %c: %m% log4j.appender.DRFAAUDIT.rollingPolicy=org.apache.log4j.rolling.FixedWindowRollingPolicy log4j.appender.DRFAAUDIT.MaxBackupIndex=2 log4j.appender.DRFAAUDIT.triggeringPolicy=org.apache.log4j.rolling.SizeBasedTriggeringPolicy log4j.appender.DRFAAUDIT.MaxFileSize=100MB log4j.appender.DRFAAUDIT.rollingPolicy.ActiveFileName=${hadoop.log.dir}/hdfs-audit.log log4j.appender.DRFAAUDIT.rollingPolicy.FileNamePattern=${hadoop.log.dir}/hdfs-audit-%i.log.gz
... View more
09-22-2017
07:29 AM
Hi, I use
the Ambari-REST-API to query relevant metainformation of a Cluster. For this I
have to pass a Username and a Password in the REST call. The user in the
REST-call must have Admin-Privileges on the Cluster. Exist a Privileges/Role,
lower than Admin, that I can grant a User to get access on the REST-API. I don’t
want to modify Information in the Cluster. Best Regards Dominik
... View more
Labels:
08-29-2017
02:14 PM
Hi, I want to list relevant Hardware and environment Information of an Ambari-Server with usage of the Ambari-REST-API. Interesting may be the capacity of RAM, disk volume, remaining disk space, operation system, java version, ambari version, CPUs … Can you help me to find this Information in the REST-API? Best Regards Dominik
... View more
- Tags:
- ambari-server
Labels:
08-29-2017
11:00 AM
@Geoffrey Shelton Okot I don’t have installed a Cluster, so I don’t have these option to change the permission. I don’t need a HDFS Cluster, because I only want to use the View from Ambari-Server for remote clusters. It is possible to do this, without the installation of a cluster?
... View more
08-29-2017
09:16 AM
Hi, I want to add a remote Cluster in Ambari-Server. I have install a blank Ambari-Server and I don’t want to use a cluster. The Ambari-Server only has to manage my remote views. When I add a remote Cluster I get following error message: Failed to create new Remote Cluster DEV. User must be Ambari or Cluster Administrator Best Regards Dominik
... View more
Labels:
08-28-2017
07:05 AM
Hi, i have
add two Ambari-Clusters in the remote configuration of another Ambari-Server.
To manage these Clusters I write for my own an Ambari-View. To get the relevant
Information I use the Ambari-REST-API. For the local-CLuster I know the
username, Password and the domainname of the Cluster. But for the remote
Cluster I dont want to manage this Information twice. Can I get this
Information with the rest-API? I have admin-Privileges on the
main-Ambari-Server. Best
Regards Dominik
... View more
Labels:
08-22-2017
08:39 AM
Hi, is it
possible to get all relevant Information about the remote Cluster which the
Ambari-REST-API. I know that you get all relevant Information about the
main-Ambari-Instance. But can I get the same Information to query the
main-Ambari-Instance and with connected remote Ambari-Instance. Best
Regards
... View more
Labels:
08-22-2017
08:28 AM
Hi, I have seen, that you can add a remote Cluster in Ambari. My question is: How communicate the Ambari with the other Ambari-Instances. Use Ambari the REST-API for they own? Best Regards Dominik
... View more
Labels:
08-22-2017
07:21 AM
Hi @Jay SenSharma , many thanks for your detailed asnwer. Is my Approach best practice? Ore woud you advice against this Approach. Best Regards
... View more
08-22-2017
07:15 AM
Hi, I have
to spend a lot of time in this community and the Webpage of Hortonworks. An
aspect bothers me: The Page isn't completely in English and not completely in German.
It is very unpleasant for read an article and has to switch between two
languages. Best
Regards Dominik
... View more
- Tags:
- hortonwork
08-22-2017
07:03 AM
Hi, I want to extract Data from the Apache Ambari internal database. Is there an official documentation of the Schematic structure of the database. I dont want to use the REST-API because of I am scare about the stability of the Interface in the next Releases. Best Regards
... View more
Labels:
08-22-2017
06:47 AM
One other possible solution is to create a own View in Apache-Ambari. https://cwiki.apache.org/confluence/display/AMBARI/Views
... View more
08-22-2017
06:45 AM
Hi, that’s
it. I write my own views and I extract the Apache-Ambari database to get the
Data. I have seen that you can use Java for the views. In that case I want to
use Hibernate for the connection to the database. Many
Thanks for your help
... View more
08-21-2017
07:14 AM
Hi @Sonu
Sahi, I want
to manage about 20 Clusters on my "Super"-Ambari-Server. I Need the
Feature for managing the Clusters. I have to create a System to inventory all
Clusters in a Company. For example a Cluster has 4 Hosts and the next Cluster
has 5 Hosts. I want see directly the Distribution of the Hosts on a Page. I
have seen that you can use the Ambai-REST-API to get the relevant Information,
but I am scare about the stability of the API. I don't want to change my
program in the next release of Ambari only because Apache has changed the
internal data model and the structure of the REST API. It is
possible to write own Ambari-Views or do you know another solution to cover the
Use-Case? The official function of Ambari and their Views are not helpful. Best
Regards and Thanks Dominik
... View more
08-18-2017
09:29 AM
Do you
think the Api will be the same in future-Releases of Ambari. I don’t want to
start program and in the next release the API will Change fundamentally
and I have to modify my Software.
... View more
08-18-2017
09:22 AM
Hi, i want to use one Ambari instance for manage other Ambari-Clusters. I found following HowTo in this Community: https://community.hortonworks.com/articles/54014/an-introduction-to-ambari-24-new-feature-remote-cl.html But I dont know, how many Clusters I can add. Best Regards Dominik
... View more
Labels:
08-16-2017
02:04 PM
1 Kudo
Is the
Feature implemented in the actual Version of Ambari? I am very interested in
this Use Case. Best Regards
... View more
08-16-2017
12:18 PM
Hey everyone, I am starting to work with Apache Ambari and I have to realize a System to get a short Overview over all Ambari Instances in one place. My first approach is to connect to the Ambari-REST API and extract the relevant metadata. My colleagues told me, that the datamodel can be changed in the upgrade process of Ambari to a next Version. Now my Querstion, can I use the REST-API for my use-Case even if Ambari will be upgraded periodically. Before I want to start programming, I want to weigh up all possible approaches. I see forward for your feedback Best regards Dominik
... View more
Labels:
08-16-2017
12:16 PM
Hey everyone, I am starting to work with Apache Ambari and I have to realize a System to get a short Overview over all Ambari Instances in one place. Ambari has a Dashboard to view the relevant metadata of the cluster, but in my environment I have multiple Instances. My first approach is to connect to the Ambari-REST API and extract the relevant metadata. This Approach is possible, but wasteful, if an existing System or Framework had realized this use-Case jet. Before I want to start programming, I want to weigh up all possible approaches. In following Metadata I am interested in: - Cluster-Name - Connected Hosts - Installed Services - Permission and Roles - Users - Jobs/Workflows - Alerts - Maybe Configurations I see forward for your feedback Best regards Dominik
... View more
Labels: