Member since
01-14-2017
75
Posts
35
Kudos Received
6
Solutions
My Accepted Solutions
Title | Views | Posted |
---|---|---|
1790 | 02-15-2017 10:39 PM | |
2268 | 02-13-2017 07:28 PM | |
2071 | 02-01-2017 10:46 PM | |
2097 | 01-31-2017 02:29 PM | |
1337 | 01-27-2017 02:04 AM |
02-01-2017
10:46 PM
1 Kudo
@Timothy Spann, I don't have a solution, yet, but I think that ReplaceText is doing recursive replacement of some sort. It is replacing the value with the requested attribute, but it is then evaluating that replacement again, including a new $2, but there is no group 2 captured in the search. I find that this happens if the attribute I'm replacing has a dollar sign followed by a number in it. For instance, the following replace text is going to put the user.name attribute into the flowfile: However, when the attribute has a $2 in it, I get an IndexOutOfBounds error and the offending flowfile stays in the upstream queue. Here are the flowfile attributes that show a $2 in the middle of the user.name attribute. I get the same issue with "no group 6" if the name has $6 in it. I'm going to try some of the quoting functions to see if that changes the behavior. John
... View more
01-31-2017
02:29 PM
3 Kudos
@Paul Hernandez, There are two levels of port forwarding between your local machine running Talend and the datanode running on port 50010. This is because there are two levels of virtualization so that the sandbox can be the same regardless of the virtualization that you choose. The two levels are Virtualbox and docker, and the forwarding rule that you added only covers getting the port forwarded through the virtualbox level. The following article by @Michael Young shows the steps to get the forwarding done through docker. Note that you must do the 'docker commit sandbox sandbox' before you do the 'docker rm sandbox' or you will lose any work you have done in the sandbox and it will be reverted to initial state. https://community.hortonworks.com/articles/65914/how-to-add-ports-to-the-hdp-25-virtualbox-sandbox.html John
... View more
01-30-2017
11:04 PM
@doron zukerman, Will you please accept the answer that Jay SenSharma provided? It helps everyone see that the question was answered adequately. Thanks!
... View more
01-30-2017
09:14 PM
Hi @Ben Kuhn, I was thinking that you would get a DHCP address from your home network, but if you have it configured for NAT, you should not have any issues with that. Here is what mine looks like: On mine, Adapters 2, 3, and 4 all are unchecked in the "Enable Network Adapter" setting. John
... View more
01-30-2017
03:43 PM
@Jeffrey van Geete, All of the lines in that code box have to be pasted together. The \ character at the end of each line is a continuation character and the shell appends the next line. I'm guessing you have to hit enter twice for it to give you the error. Just paste the whole window full of lines at the same time and it will run. John
... View more
01-30-2017
05:42 AM
Hi @Ben Kuhn, One time that message comes up is when the VM cannot get a DHCP address. Do you have a valid DHCP environment? Have you tried connecting to http://127.0.0.1:8888 anyway? Sometimes it works even without good DHCP since it's being reached from your local machine. John
... View more
01-27-2017
02:04 AM
@Prasanna G There is some information about this in the following thread: https://community.hortonworks.com/questions/79042/step-12-not-showing-welcome-page-as-mentioned.html#answer-79127 Essentially, you are right to be adding inbound rules, as only port 22 is open initially, though I don't know what would listening on port 150. You will need to add 8080 and 8888 at a minimum. John
... View more
01-23-2017
06:30 PM
1 Kudo
Once you are root inside the sandbox, you can set the admin password for Ambari: [root@sandbox ~]# ambari-admin-password-reset
Please set the password for admin:
Please retype the password for admin:
The admin password has been set.
Restarting ambari-server to make the password change effective...
Using python /usr/bin/python
Restarting ambari-server
Using python /usr/bin/python
Stopping ambari-server
Ambari Server stopped
Using python /usr/bin/python
Starting ambari-server
Ambari Server running with administrator privileges.
Organizing resource files at /var/lib/ambari-server/resources...
Ambari database consistency check started...
No errors were found.
Ambari database consistency check finished
Server PID at: /var/run/ambari-server/ambari-server.pid
Server out at: /var/log/ambari-server/ambari-server.out
Server log at: /var/log/ambari-server/ambari-server.log
Waiting for server start....................
Ambari Server 'start' completed successfully.
At this time, you can log into Ambari as admin with the password you just set.
... View more
01-23-2017
06:21 PM
1 Kudo
Hello @mohamed ali, 1) When you can't access Ambari, do you get the login screen? 2) To log in as root once you ssh into the sandbox, type 'ssh -p 2222 root@localhost'. The password will be hadoop and it will require you to change it. The new Azure sandbox uses the same docker-based sandbox that is distributed elsewhere. This means that there is a VM (the actual sandbox in a container) inside another VM (the system on Azure). The ssh to port 22 is the VM on Azure. The ssh to port 2222 is the sandbox in the container. You can also open port 2222 just as you did with 8888 and then you can ssh -p 2222 root@<public-ip> and get directly into the sandbox container. Here's an example: jwhitmore$ ssh -i Azure-connection-key -p 22 whitmore@104.41.xxx.xxx
Enter passphrase for key 'Azure-connection-key':
Last login: Mon Jan 23 16:23:01 2017 from xxx.xxx.xxx.xxx
[whitmore@sandbox ~]$ ssh -p 2222 root@localhost
root@localhost's password:
You are required to change your password immediately (root enforced)
Last login: Mon Jan 23 16:37:47 2017 from xxx.xxx.xxx.xxx
Changing password for root.
(current) UNIX password:
New password:
Retype new password:
[root@sandbox ~]#
... View more
01-22-2017
11:31 PM
2 Kudos
@Shailendra Katiyar, Hortonworks recently refreshed the sandbox deployment in order to eliminate unnecessary open ports. Unfortunately, the only port included is SSH. To continue with the sandbox, you will need to add at least two ports to the inbound rules: 8888 and 8080. You may also eventually want additional ports open for Zeppelin, Nifi, etc, but you can get started with just those two. On the left sidebar, click "Resource groups". Here, mine is called sandbox1rg. Click on the blue Resource Group name. You will see the resources in the group. The firewall rules are in the network security group, here called 'sandbox1-nsg'. Click on the network security group name. You will see the rules, of which there is only one. This rule allows any IP address to connect to port 22 for SSH. You will add another rule by clicking on the 'Add' button above the list of rules. Click OK and add another for port 8080 in the same manner. Once the rules are fully applied, you should be able to move forward with the tutorials. Add additional rules as needed for other tutorials when you get to them.
... View more
- « Previous
- Next »