How is DataXceiver been used?

2013-01-16 Thread Liu, Raymond
Hi I have a table with about 24 region on the one regionserver, and each region have about 20 block files on hdfs. The xceiverCount is set to 1024, I have thought that this is quite enough since at most 480 blocks will be opened. While when I do a MR job to scan the

RE: One weird problem of my MR job upon hbase table.

2013-01-14 Thread Liu, Raymond
has a comprehensive case study on such a case. This might not be the exact problem, but the diagnostic approach should help. http://hbase.apache.org/book.html#casestudies.slownode On 1/4/13 10:37 PM, Liu, Raymond raymond@intel.com wrote: Hi I encounter a weird lag behind

One weird problem of my MR job upon hbase table.

2013-01-04 Thread Liu, Raymond
Hi I encounter a weird lag behind map task issue here : I have a small hadoop/hbase cluster with 1 master node and 4 regionserver node all have 16 CPU with map and reduce slot set to 24. A few table is created with regions distributed on each region node evenly ( say 16 region for each region

RE: One weird problem of my MR job upon hbase table.

2013-01-04 Thread Liu, Raymond
. Hmm... Cheers On Fri, Jan 4, 2013 at 7:37 PM, Liu, Raymond raymond@intel.com wrote: Hi I encounter a weird lag behind map task issue here : I have a small hadoop/hbase cluster with 1 master node and 4 regionserver node all have 16 CPU with map and reduce slot set to 24

RE: One weird problem of my MR job upon hbase table.

2013-01-04 Thread Liu, Raymond
... Cheers On Fri, Jan 4, 2013 at 8:08 PM, Liu, Raymond raymond@intel.com wrote: Hi Ted Thanks for your reply Did you use TableInputFormat in your MR job ? No, a custom one which do the same split work, but input for each map task is the split, and the map task open htable

question about region assignment upon re-enable table

2012-12-04 Thread Liu, Raymond
Hi I am just curious about the region assignment strategy upon table re-enabling. By default, it's random assigned to the region server. I checked jira and found HBASE-6143 suggest to make it smarter like take load balancing into account. While, I am wondering what

RE: How can I get the intermediate output file from mapper class?

2012-08-10 Thread Liu, Raymond
try a pattern that matches these and you should have it. The X kind of files are what MR produces on HDFS as regular outputs - these aren't intermediate. On Fri, Aug 10, 2012 at 8:52 AM, Liu, Raymond raymond@intel.com wrote: Hi I am trying to access the intermediate file

RE: How can I get the intermediate output file from mapper class?

2012-08-10 Thread Liu, Raymond
Alright, finally managed to get the intermediate file. The pattern should be .*_m_.* instead of .*_m_*... stupid me. If you try to get everything, use .* for pattern. ;) Best Regards, Raymond Liu -Original Message- From: Liu, Raymond [mailto:raymond@intel.com] Sent

[webkit-dev] Can anyone help to add EditBugs privilege for my account?

2011-12-28 Thread Liu, Raymond
Hi Can anyone help to add EditBugs privilege for my bugs.webkit.org account? I know I should post to webkit-committer according to webkit-patch reported, but I register and confirm twice of that mail list, but never really been added to the list and thus could not post there...

Re: [MeeGo-dev] SCIM on Meego

2010-07-12 Thread Liu, Raymond
-Original Message- From: Tomas Junnonen [mailto:tomas.junno...@nokia.com] Sent: 2010年7月12日 16:16 To: Development for the MeeGo Project (discussion list) Cc: Liu, Raymond Subject: Re: [MeeGo-dev] SCIM on Meego On 07/12/2010 08:07 AM, ext Liu, Raymond wrote: Hi Samuel Dear Raymond

Re: [MeeGo-dev] SCIM on Meego

2010-07-12 Thread Liu, Raymond
Well, For MTF IMF, I only have a client module written to make it work with GTK app as well. And MTF IMF itself is developed by Mohammad, Pekka Vuorela and a lot of other engineers from Nokia. I don't know whether they have the plan, but I doubt it ;) Javis Pedro is working on Gtk+ input

Re: [MeeGo-dev] SCIM on Meego

2010-07-12 Thread Liu, Raymond
Javis Pedro is working on Gtk+ input context for MeeGo input method framework: http://javispedro.com/blog/gsoc/ Hmm, seems I did not spread my code early enough (only available on build.meego.com now), my work is almost done even before Javis post his very first blog Should move it to

Re: [MeeGo-dev] SCIM on Meego

2010-07-11 Thread Liu, Raymond
Hi: I noticed that SCIM is a package Meego would install as regular update. Is SCIM the best multi-language input method on Meego to use?   If I want to develop a non-English app on Meego, should I follow SCIM guide or is there something else I should use? Thanks If your app is base on

Re: [MeeGo-dev] SCIM on Meego

2010-07-11 Thread Liu, Raymond
-Original Message- From: meego-dev-boun...@meego.com [mailto:meego-dev-boun...@meego.com] On Behalf Of Liu, Raymond Sent: Monday, July 12, 2010 9:49 AM To: Development for the MeeGo Project (discussion list) Subject: Re: [MeeGo-dev] SCIM on Meego Hi: I noticed that SCIM is a package Meego would

RE: New On-screen keyboard developer needed

2010-06-22 Thread Liu, Raymond
Features: - configurable keyboard layout - ability to switch among several layouts (using one of keyboard's key and also using kind of API) - precise size of keys and space calculation (pixel resolution) - key labels as a text and pixmap (for backspace, layout switch etc.) as well -

Re: [MeeGo-dev] Failed to build duikeyboard

2010-03-24 Thread Liu, Raymond
When I try to build it, it fails with: widgets/layoutmenu.cpp:25:29: error: DuiControlPanelIf: No such file or directory And it seems to me DuicontrolPanelIf is not available from libdui in the latest commit And then I check the control file, I think libduicontrolpanel is a standalone

Re: [Moblin Dev] Why enable scim autoshow by default

2010-02-01 Thread Liu, Raymond
Hi Joey Hi Roymond, I aam tracing a bug from our Novell QA on SUSE Moblin 2.1 for SCIM autoshow and found upstream add a patch to enable the scim-clutter autoshow feature by default: http://git.moblin.org/cgit.cgi/clutter-imcontext/commit/?id=b0d19e5a3d481dbe30f4a9 ed788fa258dcaeaf65 But this

Re: [Moblin Dev] Why enable scim autoshow by default

2010-02-01 Thread Liu, Raymond
This dummy autoshow config file is added for supporting devices which do not have hardware keyboard, thus an input method could not be activated by hotkey e.g. ctrl+space. Instead, IM should be auto activated upon text widget focus. It's optional, and on moblin, we package it into a

RE: Invalid UTF-8 string passed to pango_layout_set_text()

2009-12-25 Thread Liu, Raymond
Hi list, I'm learning GTK+ using Foundations of GTK+ Development by Andrew Krause and today I did the exercise2-1(chapter2) which should meet the demand as follows: when press the key,the label's text and window's title can interchange. However,I got the warning:Invalid UTF-8 string passed to

RE: Memory leak in gtk label?

2009-12-21 Thread Liu, Raymond
you should read: http://live.gnome.org/Valgrind before using Valgrind with GLib or GTK+ based applications. Thanks a lot ;) With the gtk.suppression file for 2.12, 30% of the fake memory leak issues are gone. While, still quite many of them remain. I can add more suppress rules, but I

Memory leak in gtk label?

2009-12-16 Thread Liu, Raymond
Hi I am using valgrind to check my application, I found a lot of memory leak issue related to GtkLabel or maybe pango staff. I write a small test case to make it simple: - #include gtk/gtk.h void on_click(GtkButton *button, GtkWidget

Re: [Moblin Dev] How to use scim in moblin

2009-11-17 Thread Liu, Raymond
Sorry , it is the uxlaunch package. And perhaps they all don't suggest to do things in that. Yes, uxlaunch package. And at present it only set GTK_IM_MODULE and CLUTTER_IM_MODULE env parameters for zh_* locale. You might want to hack it to export these env parameters for all locales.

Re: [Moblin Dev] Virtual keyboard Application

2009-11-15 Thread Liu, Raymond
Hi rory I modify the fvkbd/keyboard-rainbow.xml for scim-chewing for test. The attached files are the sreenshot I catch. regards, MEC-rory Well done ;) One question, when you type a key, it will show the normal Latin letter or the letter for chewing? Say, the chewing letter is just

Re: [Moblin Dev] Virtual keyboard Application

2009-11-12 Thread Liu, Raymond
Hi Jia cheng Hi everyone: Although I have installed fvkbd (virtual keyboard), I find the UX launcher would cover the virtual keyboard. So that I can not type the WEP/WPA code on WIFI setting via virtual keyboard. Well are you talk using a netbook image? On netbook, at present that's true that

Re: [Moblin Dev] Virtual keyboard Application

2009-11-12 Thread Liu, Raymond
This is my point. There is no hardware keyboard on the netbook. It uses touch screen function instead. So that I need to use virtual keyboard on moblin mutter-panel. Then, I guess you will have to wait for a while before tomas have mutter-moblin modified to support more window been shown

Re: [Moblin Dev] How to use scim in moblin

2009-11-09 Thread Liu, Raymond
Hi Hi all I installed scim, scim-bridge by yum, and scim-unikey (it's Vietnamese Input Method Engine for SCIM using Unikey IME). But when I run scim by terminal, I can't see menu icon. I can't change Input Method to Vietnamese. What do you mean by can't see menu icon? Do you mean the icon

Re: [Moblin Dev] Software Keyboard on Moblin 2.x for MID

2009-10-19 Thread Liu, Raymond
Hi Amano Hi, Have we already discussed about software keyboard solution for MID? I need it for Moblin 2.x MID development now. As you know, Moblin 1.0 has used the matchbox-keyboard, matchbox-keyboard-manager on hildon-desktop. If everyone knows, Can anyone tell me about software keyboard?

Re: [Moblin Dev] Software Keyboard on Moblin 2.x for MID

2009-10-19 Thread Liu, Raymond
layout. Regards, Anousak Raymond On Mon, Oct 19, 2009 at 1:22 PM, Liu, Raymond raymond@intel.com wrote: Hi Amano Hi, Have we already discussed about software keyboard solution for MID? I need it for Moblin 2.x MID development now. As you know, Moblin 1.0 has used the matchbox-keyboard

Re: [Moblin Dev] Software Keyboard on Moblin 2.x for MID

2009-10-19 Thread Liu, Raymond
-guide You can try to follow it to test out Raymond Regards, -- Mitsutaka Amano On 14:22 Mon 19 Oct , Liu, Raymond wrote: Hi Amano Hi, Have we already discussed about software keyboard solution for MID? I need it for Moblin 2.x MID development now. As you know, Moblin 1.0 has used

Re: [Moblin Dev] license clarification for clutter-imcontext

2009-07-19 Thread Liu, Raymond
Hi Can someone provide me a license clarification for the clutter-imcontext. The COPYING file states its LGPLv2 but the clutter-imtext.{c,h} files are LGPLv3 in their header. As far as I can see from the Fedora Licensing GPL compatibility matrix[1] there's some incompatibility there so if someone

Re: [Moblin Dev] New Application Sample Project code error

2009-03-26 Thread Liu, Raymond
Hi Andy Then I make the project again, there is other error came out. undefined reference to 'CLUTTER_LABEL' undefined reference to 'clutter_label_set_color' undefined reference to 'clutter_label_new_full' But this one I don't know how to fix it. Can someone tell me about it? I think you

RE: Lost all internal Links in output HTML Files

2009-03-25 Thread Liu, Raymond
I am trying to use GTK-Doc to create API Documents I follow the 1.11's manual to set up my project. And if it's the very first time that I run autogen.sh and then make. Everything is ok, I got the right html output. But then , if I do make clean and then make again without touch

RE: Lost all internal Links in output HTML Files

2009-03-24 Thread Liu, Raymond
Hi I am trying to use GTK-Doc to create API Documents I follow the 1.11's manual to set up my project. And if it's the very first time that I run autogen.sh and then make. Everything is ok, I got the right html output. But then , if I do make clean and then make again without

[clutter] [Patch] clutter_text_set_text_internal not working right with max_length

2009-03-11 Thread Liu, Raymond
Hi In clutter_text_set_text_internal, when text length in character is greater than max_length, the new text string buffer is not malloced with right length. Here is my patch: diff --git a/clutter/clutter-text.c b/clutter/clutter-text.c index 7e911d6..4e8e38a 100644 ---

[clutter] RE: [Patch] clutter_text_set_text_internal not working right with max_length

2009-03-11 Thread Liu, Raymond
Hi In clutter_text_set_text_internal, when text length in character is greater than max_length, the new text string buffer is not malloced with right length. Here is my patch: Sorry, seems that patch should go to Bugzilla, I have submitted it at:

[clutter] RE: [Patch] clutter_text_insert_text not working right with the position parameter

2009-03-11 Thread Liu, Raymond
Hi As the comments point out: In clutter_text_insert_text (ClutterText *self, const gchar *text, gssize position), the position is expressed in characters, not in bytes. While actually,in the latest git tree, it turns out to be working on bytes, and also the position is not

[clutter] [Patch] clutter_text_insert_text not working right with the position parameter

2009-03-09 Thread Liu, Raymond
Hi As the comments point out: In clutter_text_insert_text (ClutterText *self, const gchar *text, gssize position), the position is expressed in characters, not in bytes. While actually,in the latest git tree, it turns out to be working on bytes, and also the position is

[clutter] How to get Actor's absolute x,y coordinate in Clutter?

2009-03-09 Thread Liu, Raymond
Hi Is there anyway to get absolute x,y coordinate of an actor in clutter? clutter_actor_get_position can get relative x,y to an actor's parent container, I can try to add the x,y offset up to the stage. But : 1: the container itself might have some border or decorator,

RE: [clutter] How to get Actor's absolute x,y coordinate in Clutter?

2009-03-09 Thread Liu, Raymond
On Mon, 2009-03-09 at 16:38 +0800, Liu, Raymond wrote: Hi Is there anyway to get absolute x,y coordinate of an actor in clutter? So, anyone have ideas about this? clutter_actor_get_transformed_position () is what you are looking for. It will give you the absolute position

RE: [clutter] How to get Actor's absolute x,y coordinate in Clutter?

2009-03-09 Thread Liu, Raymond
2: Seems I got no way to get the stage's absolute x,y relative to desktop = root_window? absolute x,y relative? I suppose that you mean the absolute x,y position of the stage on the screen. Yeah, Exactly! :) Some time ago a similar thread was sent to this list [1] For example, if you

[clutter] About porting GTK IMContext to Clutter

2009-03-02 Thread Liu, Raymond
Hi, Clutter experts I am seeking a way to enable Input Method support for Clutter recently. And I think that in order to support different IM protocols including X11's XIM protocol and other widely used protocols, to have a pluggable IMContext framework is an ideal solution.

Porting Hildon Input Method to Clutter?

2009-02-05 Thread Liu, Raymond
Hi, HIM experts I am looking for an IM solution for Clutter. And I guess I can take HIM as a start and porting it to Clutter. Well, after I roughly browse through the code. I found that HIM is heavily depends on GTK if not Hildon. Both in the HIM Framework (it claim that it

RE: Porting Hildon Input Method to Clutter?

2009-02-05 Thread Liu, Raymond
Hi Anwari Thanks for your reply. 2: Is it possible to using the plugin system to implement a specific IM with Engines and UI part decoupled into different plugins or modules? Say, with the same VKB, I can choose different Language which belonging to different IM Engines. So that

RE: [Libgnome-menu2] Any quick way to check which part of the tree is updated?

2008-11-12 Thread Liu, Raymond
I can see that when tree is changed, With the data we got from the call back function we added by gmenu_tree_add_monitor, we can not know exactly which part of the tree is updated. So if I have retreive part of the contents of the tree and save them into somewhere else, say display on the

[Libgnome-menu2] Any quick way to check which part of the tree is updated?

2008-11-11 Thread Liu, Raymond
Hi I quickly browse through the source code of libgnome-menu2, and I read some of the app code who using this library. I can see that when tree is changed, With the data we got from the call back function we added by gmenu_tree_add_monitor, we can not know exactly which part of

how gnome panel handle submenu and app's show/non-show information?

2008-11-10 Thread Liu, Raymond
Hi My system is ubuntu 8.04 I check the /etc/xdg/menus/applications.menu, I can see that not all the submenu is actually show in the gnome-panel And also not all the app is show in each submenu or category. I can see that in UI interface, I can config which item is show and which is not. But

RE: how gnome panel handle submenu and app's show/non-show information?

2008-11-10 Thread Liu, Raymond
Hi My system is ubuntu 8.04 I check the /etc/xdg/menus/applications.menu, I can see that not all the submenu is actually show in the gnome-panel But where does these show/hide information stores? And I don't see in the desktop file spec or menu spec about this. Where can I find documents on

RE: Any doc or sample code for using Libgnome-menu2 ?

2008-11-10 Thread Liu, Raymond
(lt-gnome-menu-spec-test:26922): GLib-GObject-CRITICAL **: /build/buildd/glib2.0-2.16.6/gobject/gtype.c:2248: initialization assertion failed, use IA__g_type_init() prior to this function Which version of gnome-menus is this? It should have been fixed with: 2008-04-11 Vincent Untz [EMAIL

Any doc or sample code for using Libgnome-menu2 ?

2008-11-09 Thread Liu, Raymond
Hi I am trying to use libgnome-menu2 for desktop file info retrieve. However I could not find any API reference or sample code on web or in the source package. Can anyone share some information on this to me? I did try to build and run the

<    1   2