Questions tagged [writable]
121 questions
1
vote
1 answer
What permissions are required to make a directory writable by php?
What permissions do I need to set up on a directory in order to make it writable by php?
By "writable", I mean copying and creation of new files within that directory automatically by php itself.
I'm testing this on a free host, and the default…

lakumba
- 19
- 1
- 5
1
vote
1 answer
Stream is not writable when i try use a StreamReader constructed by the same fileStream?
As code after, i don't want create fileStream twice, so i write streamWriter inside fileStream. But it was so strange that code throw an exception when try to instance a StreamWriter. I guess fs's read pointer reach at the end, but it's just a…

Lee God
- 21
- 3
1
vote
2 answers
PHP is_writable() to check if file can be written?
I've read that I can use is_writable() to check if a folder or a file is writable.
How do I check if a file can be written to a folder?
Do I check the folder and if the folder is writable? Then the file is allowed to be put into that folder?
What…

Jens Törnell
- 23,180
- 45
- 124
- 206
1
vote
1 answer
Hadoop - How to emit TwoDArrayWritable
I am emitting TwoDArrayWritable from mapper. I have implemented the class which extends TwoDArrayWritable in order to make the default constructor. But when I try to emit it, it gives me following exception:
Error: java.lang.RuntimeException:…

user1584253
- 975
- 2
- 18
- 55
1
vote
1 answer
Use of readFields() in writable class in hadoop.io api
I am new to map-reduce. I want to know what is the use of readfields and write methods when we implement our custom data types in hadoop? For example,
public class Point3D implements Writable {
public float x;
public float y;
…

user2758378
- 91
- 11
1
vote
3 answers
Hadoop mapreduce with input size ~ 2Mb slow
I tried to distribute a calculation using hadoop.
I am using Sequence input and output files, and custom Writables.
The input is a list of triangles, maximum size 2Mb, but can be smaller around 50kb too.
The intermediate values and the output is a…

bxabi
- 13
- 3
1
vote
1 answer
Groovy Writable Object?
Have a SimpleTemplate class that returns a Writable object. Can this be done as i can't see what kind of object to return. I have tried someting like this:
Writable getTemplate() { return 'something that's a writable' }
and how would i read…

jnorthr
- 52
- 6
1
vote
3 answers
Does directory made inside writable directory always writable?
I have a directory that is writable.If i make another directory inside it using
mkdir("test", 0777);
Does this make test directory writable ?
if i use only
mkdir("test");
does it inherit the writable property from its parent dir?
If not is there…

Ace
- 841
- 9
- 23
1
vote
2 answers
ES5 Defining Unchangeable Arrays / Property Values
When defining an array as a property of an ES5-style object, I want to make it so the property's value cannot be changed.
'use strict';
var global = Object.create(Object.prototype, {
names: {
value: ['Barney', 'Trogdor'],
…

Jackson
- 9,188
- 6
- 52
- 77
1
vote
3 answers
Implementing a custom Hadoop key type and Value type
I want to emit key and value as custom datatype.
whether I should implement 2 classes for key and value?
one KeyWritable implements WritableComparable and
the other one
ValueWritable implements Writable.
Is it like that or one
WritableComparable…
user2922060
1
vote
0 answers
Issues in Emitting 2 Matrices as key and value from mapper
I am getting a input file as an argument and copying it into HDFS for some initial calculations.
And this file will be the input to my mapper.
After some matrix calculations I need to emit 2 double arrays to Reducer.
But when I did so, it is…
user2922060
1
vote
1 answer
Xcode - Submission error - Unable to create configuration directory
I was trying to submit my second app update and it failed submission after passing validation. This is the error:
"Unable to create configuration directory:/Application/Xcode.app/Contents/iTMSTransportation.woa/.itmstransporter. Cannot save local…
user2888792
1
vote
1 answer
Doctrine CodeIgniter error: Your proxy directory must be writable
I use Doctrine 2.0 integration with CodeIgniter.
I encounter this error when try to load something from the DB.
Fatal error: Uncaught exception 'Doctrine\ORM\Proxy\ProxyException' with message 'Your proxy directory must be writable.' in…

Meysam Feghhi
- 945
- 2
- 11
- 23
1
vote
3 answers
Error while writing custom object in mapper
I have extended WritableComparable and want to store it as mapper as the mapper value.
public class SenderRecieverPair implements WritableComparable {
Set pair = new TreeSet(new…

S Kr
- 1,831
- 2
- 25
- 50
1
vote
1 answer
Hadoop ArrayWritable giving me a ClassCastException
EDIT: PROBLEM SOLVED - I had a pretty silly error.
I've got a MapReduce pipeline consisting of a map, reduce, map, and reduce. I use SequenceFileOutputFormat for the first reduce, and SequenceFileInputFormat for the second map. I've looked at…

mattg
- 1,731
- 1
- 12
- 20