![]() I was open my project immediately and read that code block. I felt as “new light at end of the tunnel” lol. I researched, reviewed code lot of times but I didn’t find out the root cause, it was an intermittent issue.Īfter 1 month, I figured out that this exception was thrown when I saved the entity after I had printed the report. ![]() I was very headache on this issue before. When another session remove/delete AppointmentItem.Ī(appointment) NHibernate issue sharing 1 : A collection with cascade=”all-delete-orphan” was no longer referenced by the owning entity instance Workaround for Refresh issue (NHibernate.UnresolvableObjectException: No row with the given identifier exists) – First I call clear item of parent object So my workaround solution for my situation is: Some guys on internet advised using Evict, but if your object is having ref to another object the Evict will be became the another reason defect. The root cause is that when the child item is removed by another session and if your session try to REFRESH the parent object this exception will be thrown :). In my mind, I wanted to refresh newly object data from database and I thought I must be ran smoothly instead of I got intermittent issue :(.Īfter I re-searched on internet I found out that many guys were facing this issue hehe I had another interesting issue when I used Refresh object. Note: What s the storage path of HIVE table? hive> dfs - ls /user/hive/warehouse/cities Questions for PSM I certification. I hope you will have the first feeling about Big Data THAT ALL □ you can try more and learn more with this env.Hive> SELECT country, COUNT(*) cnt FROM cities GROUP BY country Now try to count how many rows we have in this table/file.Now try to select the data from this cities hive table.Check the Hive table “cities” description.Hive> LOAD DATA LOCAL INPATH '/root/data/cities.csv' OVERWRITE INTO TABLE cities Load data from local file into Hive Table created above.Hive> CREATE TABLE cities (country string, r1 string, r2 string) ROW FORMAT DELIMITED FIELDS TERMINATED BY ',' Can check mysql’s status by “ mysql status” Start “mysql” (Hive metastore backend).In this docker image, it has the file for you to learn (# /root/data/cities.csv) with 317102 data rows.Clone Beetest from github, build (this is the test tool for non-java developer can write and test Hive – ) git clone.Pull docket image ĭocker run -i -t cdecl/hadoop-hive:2.6.0 /etc/bootstrap.sh -bash.I hope my sharing can resolve your problem □ ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |