Member since
08-04-2017
1
Post
0
Kudos Received
0
Solutions
08-04-2017
02:29 AM
I too am having this problem. I suspect that the default 8GB RAM allocation for the VM is insufficient. I've tried removing and re-importing several times and it always get's stuck in the booting of CentOS (even when I waited for over 30 minutes for it to boot). If I try to ssh to the VM while it is in that "stuck booting state" via putty (localhost port 2222) I get the login prompt and can login, but my session gets killed when asked to change the password for the first time. I've tried up-ing the VM memory to 16GB (because I have 64GB RAM) and the VM starts just fine. However, there must be other constraints within the VM because even simply Hive queries such as "select count(*) from a_table_with_just_40_rows_in_it;" fail with out of memory exceptions. This occurs whether I run from the Hive Shell or Hive2 via Ambari. I'm finding that the memory limitations prevent me from doing anything useful - including the first tutorial. For example, the first tutorial's query that aggregates "driver times" also fails with OutOfMemory errors. (this query: SELECT driverId, sum(hours_logged), sum(miles_logged) FROM timesheet GROUP BY driverId;) My system is Windows 10 - core i7 - 64 GB RAM - 5.4TB SSD (Raid 5). How can I re-configure to be able to complete the tutorials? , I also have this issue. I suspect the default memory of 8GB for the VM is too small. I tried re-importing the VMWare OVA multiple times, but it always gets stuck in the boot process. If I try logging in using putty (localhost:2222) my session drops when prompted to change my password. If I start the VM with a larger memory size (I up'd it to 16GB because I have 64GB of RAM) it starts fine. However, simple things like this hive query "select count(*) from some_table_with_just_40_records_in_it" fail with OutOfMemoryExceptions (when run from Hive or Ambari-Hive2). I'm struggling with how to run this sandbox and do anything useful in it with the memory constraints.
... View more