Warning Message during Hadoop Environmental Variable Installation
** (gedit:3201): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-spell-enabled not supported
Dont worry, this is purely a warning.
(quote from Stack Exchange)
You can stop seeing this behavior simply by launching gedit from the launcher rather than the command line as was intended.
If you indeed require an editor that you can launch from the command line without seeing these errors, you might try nano (a simple to use editor) launched from the command line or vi (a more advanced editor) also launched from the command line.
for more info on these editors see man nano or man vi repectively.
Most people love one and hate the other but you have the freedom to choose
Source:
StackExchange