Comments (7)
Hi @mpdehaan
This is from one of the example present in the Git repo. This looks like a problem with the scripts (not a problem of Ansible framewok).
If I change the permissions manually for the file /etc/hadoop/conf.empty/mapred-site.xml and re-execute the scripts; every thing works nicely. I would say this isn't a hadoop issue.
I see the issue is closed; please confirm if the issue is really fixed or an invalid.
Cheers,
Subroto Sanyal
from ansible-examples.
Hi Subroto,
We will have a look at the issue, can you let us know which version of
ansible and what distribution of os you are using for this installation
and also can you check the permission on the
/etc/hadoop/conf.empty/mapred-site.xml.
Also can you set:
- name: Copy the hadoop configuration files
template: src=roles/common/templates/hadoop_ha_conf/{{ item }}.j2
dest=/etc/hadoop/conf/{{ item }} mode=0644
and see if that helps.
Regards,
Benno Joy
On Tue, Nov 12, 2013 at 7:39 PM, subrotosanyal [email protected]:
Hi @mpdehaan https://github.com/mpdehaan
This is from one of the example present in the Git repo. This looks like a
problem with the scripts (not a problem of Ansible framewok).I see the issue is closed; please confirm if the issue is really fixed or
an invalid.Cheers,
Subroto Sanyal—
Reply to this email directly or view it on GitHubhttps://github.com//issues/35#issuecomment-28295562
.
from ansible-examples.
Hi @bennojoy ,
Ansible Version:
Subroto:dap subroto$ ansible --version ansible 1.3.4
OS Distribution:
[subroto@ip-10-143-182-148 Datameer-3.1.0-cdh4.4-mr1]$ lsb_release -a LSB Version: :core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarch Distributor ID: CentOS Description: CentOS release 6.2 (Final) Release: 6.2 Codename: Final
Permission of the file:
[root@ip-10-143-182-148 ~]# ls -l /etc/hadoop/conf.empty total 60 -rw-r--r-- 1 root root 1335 Sep 3 22:48 configuration.xsl -rw-r--r-- 1 root root 1001 Nov 12 07:03 core-site.xml -rw-r--r-- 1 root root 2489 Nov 12 07:03 hadoop-metrics.properties -rw-r--r-- 1 root root 1773 Nov 12 07:03 hadoop-metrics2.properties -rw-r--r-- 1 root root 9196 Sep 3 22:48 hadoop-policy.xml -rw-r--r-- 1 root root 3730 Nov 12 07:03 hdfs-site.xml -rw-r--r-- 1 root root 8735 Sep 3 22:48 log4j.properties -rw------- 1 root root 3752 Nov 12 07:03 mapred-site.xml -rw-r--r-- 1 root root 125 Nov 12 07:03 slaves -rw-r--r-- 1 root root 2316 Sep 3 22:48 ssl-client.xml.example -rw-r--r-- 1 root root 2251 Sep 3 22:48 ssl-server.xml.example
I think the suggested workaround will work but, same needs to done for hadoop_secondary also.
Request the ticket to be re-opened till it is found that the issue is invalid or the issue is fixed.
Cheers,
Subroto Sanyal
from ansible-examples.
yup-- I had already replied above that this ticket was closed in error, had thought it was filed on ansible/ansible, and then deleted the errant comment about the close -- but forgot to reopen! Reopened now, thanks!
from ansible-examples.
@subrotosanyal
can you let us know if the provided detail helps to fix the issue, if so i will update the playbook, PR also welcome :)
from ansible-examples.
I am facing this as well, the fix (mode=0644) does not seem to help. I am using ansible 1.5 and targeting hosts with centos 6.5
from ansible-examples.
closing as the hadoop example was removed
from ansible-examples.
Related Issues (20)
- hosts.example contains invalid characters in group name
- set hostname to multiple hosts using ansible HOT 2
- The rabbitmq.yml example should also demonstrate installing the correct Erlang version
- task and role dir naming conventions
- Ansible for AWS HOT 4
- ansible-lint errors in wordpress-nginx/site.yml
- ios_config is not working in Ansible
- TASK [mongod : Start the mongodb service] ERROR HOT 1
- checking OSR(Operating system files) permission
- Registry settings required on all servers
- Test
- Add "best practices" example of separate staging/production inventories HOT 3
- SRE-Ansible To Install ELK Stack
- Inclusive language
- Wrong file name HOT 1
- Input parameters for the example playbooks are undocumented HOT 1
- Create a shell script that runs an ansible ad hac to create yum repository HOT 1
- no example of import_tasks or strategy HOT 1
- Ansible
- copy files from linux server to file shared on windows server HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ansible-examples.